Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 111.8 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 194.5 kB / 21.43 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 366.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1043, allocations: 52.14 MB / 418.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004821/0.1091, allocations: 2.937 MB / 421.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1104, allocations: 0.7323 MB / 422.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.1105, allocations: 11.94 kB / 422.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1107, allocations: 51.56 kB / 422.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1109, allocations: 103.1 kB / 422.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1112, allocations: 123.8 kB / 422.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.1117, allocations: 414.5 kB / 422.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1119, allocations: 87.27 kB / 423 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1121, allocations: 159.4 kB / 423.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.1123, allocations: 175.2 kB / 423.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.1124, allocations: 44 kB / 423.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.1125, allocations: 40 kB / 423.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.1126, allocations: 75.75 kB / 423.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.1127, allocations: 175.1 kB / 423.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.1133, allocations: 454.3 kB / 424.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1133, allocations: 0 / 424.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1133, allocations: 3.938 kB / 424.1 MB, free: 7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1133, allocations: 0 / 424.1 MB, free: 7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001421/0.1147, allocations: 0.6883 MB / 424.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1148, allocations: 8.031 kB / 424.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.209e-05/0.1148, allocations: 12.75 kB / 424.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.654e-05/0.1148, allocations: 58.72 kB / 424.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.1149, allocations: 36.75 kB / 424.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.1154, allocations: 295.8 kB / 425.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1154, allocations: 20.94 kB / 425.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.1154, allocations: 24.38 kB / 425.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.1162, allocations: 331.5 kB / 425.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1162, allocations: 0 / 425.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1162, allocations: 12 kB / 425.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1162, allocations: 4 kB / 425.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.1171, allocations: 286 kB / 425.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.119, allocations: 1.151 MB / 427 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008854/0.1199, allocations: 254.5 kB / 427.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.1202, allocations: 100.8 kB / 427.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1203, allocations: 224 / 427.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/0.1208, allocations: 188.9 kB / 427.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1208, allocations: 0 / 427.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002421/0.1232, allocations: 0.663 MB / 428.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.1233, allocations: 110.8 kB / 428.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1236, allocations: 286.6 kB / 428.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1236, allocations: 29.7 kB / 428.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1238, allocations: 204 kB / 428.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.1238, allocations: 47.64 kB / 428.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.1239, allocations: 45.94 kB / 428.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1241, allocations: 338.8 kB / 429.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.1244, allocations: 104.2 kB / 429.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.1249, allocations: 213.9 kB / 429.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/0.1256, allocations: 327.1 kB / 429.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1257, allocations: 7.938 kB / 429.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001336/0.127, allocations: 479.7 kB / 430.3 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.127, allocations: 33.7 kB / 430.3 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.127, allocations: 4 kB / 430.3 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.1274, allocations: 88.86 kB / 430.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.1276, allocations: 51.84 kB / 430.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.1308, allocations: 2.064 MB / 432.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.1312, allocations: 59.69 kB / 432.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.1312, allocations: 12.06 kB / 432.6 MB, free: 13.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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 0.00018/0.1314, allocations: 160.4 kB / 432.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.1314, allocations: 27.81 kB / 432.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.1315, allocations: 29.83 kB / 432.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1315, allocations: 0 / 432.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1315, allocations: 0 / 432.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1315, allocations: 3.938 kB / 432.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.1318, allocations: 317.5 kB / 433.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1318, allocations: 0 / 433.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1319, allocations: 31.91 kB / 433.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002985/0.1322, allocations: 76.8 kB / 433.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1322, allocations: 4 kB / 433.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.135, allocations: 1.994 MB / 435.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.135, allocations: 0 / 435.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1361, allocations: 369.5 kB / 435.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.1362, allocations: 105 kB / 435.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.1362, allocations: 3.938 kB / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.1364, allocations: 35.95 kB / 435.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.1365, allocations: 15.98 kB / 435.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1365, allocations: 7.984 kB / 435.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1368, allocations: 206 kB / 436 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1368, allocations: 0 / 436 MB, free: 10.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.1372, allocations: 79.78 kB / 436 MB, free: 10.2 MB / 366.1 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.001505/0.1387, allocations: 0.909 MB / 437 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.1401, allocations: 0.4929 MB / 437.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1401, allocations: 0 / 437.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.1406, allocations: 234.5 kB / 437.7 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1409, allocations: 44.67 kB / 437.7 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007734/0.1487, allocations: 3.588 MB / 441.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1491, allocations: 0.7596 MB / 442.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.1492, allocations: 30.28 kB / 442.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.1493, allocations: 87.41 kB / 442.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1493, allocations: 0 / 442.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2073/0.3566, allocations: 6.916 MB / 449.1 MB, free: 30.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.02, allocations: 8.344 kB / 449.1 MB, free: 30.9 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.411387781961821] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.17508849297883 12.196962578 12.079423769 Calling exit ...