Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004283/0.004283, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8098/0.8098, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.52e-05, allocations: 2.281 kB / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002995/0.00302, allocations: 2.56 MB / 301 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.004106, allocations: 0.6904 MB / 301.7 MB, free: 216 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.004256, allocations: 4 kB / 301.7 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.004393, allocations: 43.52 kB / 301.8 MB, free: 168 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.004548, allocations: 95.19 kB / 301.9 MB, free: 72 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1338/0.1384, allocations: 98.83 kB / 302 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005707/0.139, allocations: 367.4 kB / 302.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.1391, allocations: 59.89 kB / 302.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1394, allocations: 192.1 kB / 302.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1395, allocations: 118.3 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.1396, allocations: 29.5 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.806e-05/0.1396, allocations: 29.66 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.1397, allocations: 67.64 kB / 302.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1398, allocations: 104.3 kB / 302.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.1401, allocations: 336 kB / 303.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1402, allocations: 3.938 kB / 303.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1402, allocations: 1.188 kB / 303.2 MB, free: 13.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1402, allocations: 0 / 303.2 MB, free: 13.07 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001004/0.1412, allocations: 0.57 MB / 303.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1412, allocations: 14.02 kB / 303.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.1413, allocations: 53.55 kB / 303.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.1413, allocations: 38.08 kB / 303.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1417, allocations: 222.8 kB / 304.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1417, allocations: 14.53 kB / 304.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1417, allocations: 24.5 kB / 304.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.1422, allocations: 299.3 kB / 304.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1422, allocations: 0.7031 kB / 304.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1422, allocations: 10.78 kB / 304.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1422, allocations: 13 kB / 304.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.1426, allocations: 239.2 kB / 304.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1437, allocations: 0.77 MB / 305.5 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.1443, allocations: 232.6 kB / 305.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1444, allocations: 94.2 kB / 305.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1444, allocations: 3.797 kB / 305.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.1448, allocations: 236.6 kB / 306 MB, free: 11.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.1448, allocations: 1.094 kB / 306 MB, free: 11.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001445/0.1462, allocations: 0.5972 MB / 306.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1463, allocations: 109.6 kB / 306.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1466, allocations: 277.3 kB / 307 MB, free: 11.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1466, allocations: 28.14 kB / 307 MB, free: 11.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.1467, allocations: 181.2 kB / 307.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1467, allocations: 44.77 kB / 307.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.1468, allocations: 46.47 kB / 307.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.1468, allocations: 338.4 kB / 307.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.147, allocations: 135.8 kB / 307.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.1473, allocations: 255.8 kB / 308 MB, free: 10.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.1477, allocations: 277.4 kB / 308.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1477, allocations: 4 kB / 308.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007198/0.1484, allocations: 473.5 kB / 308.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.1484, allocations: 41.72 kB / 308.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1484, allocations: 6.625 kB / 308.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.1487, allocations: 74.45 kB / 308.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1489, allocations: 52.42 kB / 308.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.1505, allocations: 1.895 MB / 310.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.1508, allocations: 47.72 kB / 310.9 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1508, allocations: 7.109 kB / 310.9 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002431/0.151, allocations: 213.9 kB / 311.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001921/0.1512, allocations: 237.5 kB / 311.3 MB, free: 8.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003033/0.1515, allocations: 244.5 kB / 311.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.1515, allocations: 3.188 kB / 311.6 MB, free: 7.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004372/0.1519, allocations: 356.8 kB / 311.9 MB, free: 7.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.152, allocations: 41.78 kB / 311.9 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.152, allocations: 6.25 kB / 312 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.069e-05/0.1521, allocations: 31.17 kB / 312 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1522, allocations: 44.86 kB / 312 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004772/0.1526, allocations: 1.309 MB / 313.3 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.1528, allocations: 46.42 kB / 313.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1528, allocations: 11.31 kB / 313.4 MB, free: 6.465 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/0.1529, allocations: 194.4 kB / 313.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.153, allocations: 28.94 kB / 313.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.153, allocations: 26.58 kB / 313.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.153, allocations: 1.75 kB / 313.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.153, allocations: 0 / 313.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.153, allocations: 2.406 kB / 313.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1532, allocations: 239 kB / 313.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1532, allocations: 4.812 kB / 313.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.1533, allocations: 20.78 kB / 313.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.1534, allocations: 75.12 kB / 314 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1535, allocations: 6.844 kB / 314 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.1546, allocations: 1.802 MB / 315.8 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1546, allocations: 0 / 315.8 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.1552, allocations: 357.1 kB / 316.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1552, allocations: 29.2 kB / 316.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1552, allocations: 7.125 kB / 316.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1554, allocations: 37.5 kB / 316.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.1554, allocations: 19.88 kB / 316.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.1554, allocations: 4.125 kB / 316.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1556, allocations: 195.3 kB / 316.4 MB, free: 4.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1556, allocations: 0 / 316.4 MB, free: 4.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004161/0.156, allocations: 118.8 kB / 316.5 MB, free: 4.211 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006857/0.1567, allocations: 0.8916 MB / 317.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009974/0.1577, allocations: 0.8006 MB / 318.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1577, allocations: 0 / 318.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.1579, allocations: 238.2 kB / 318.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1582, allocations: 49.69 kB / 318.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.1625, allocations: 3.554 MB / 322.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.1626, allocations: 140.6 kB / 322.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1628, allocations: 25.78 kB / 322.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.1629, allocations: 75.27 kB / 322.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of SimCode: time 1.833e-06/0.1629, allocations: 0 / 322.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.1892, allocations: 7.645 MB / 329.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/8.737, allocations: 9.156 kB / 330 MB, free: 12.92 MB / 298.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.407490668818355] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 8.835920847021043 8.848597424 8.706055959 Calling exit ...