Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001292/0.001292, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 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.001339/0.001339, allocations: 219 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 59.91 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1153, allocations: 53.34 MB / 427.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004467/0.1198, allocations: 2.754 MB / 429.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1212, allocations: 0.7129 MB / 430.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1213, allocations: 7.938 kB / 430.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.1215, allocations: 43.58 kB / 430.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.1217, allocations: 87.25 kB / 430.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.122, allocations: 99.81 kB / 430.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1224, allocations: 350.5 kB / 431.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1226, allocations: 64.7 kB / 431.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1228, allocations: 139.4 kB / 431.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.123, allocations: 143.4 kB / 431.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.123, allocations: 28 kB / 431.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.722e-05/0.1231, allocations: 28 kB / 431.5 MB, free: 312 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.1232, allocations: 67.75 kB / 431.6 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1233, allocations: 143.2 kB / 431.7 MB, free: 100 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1237, allocations: 314.7 kB / 432 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1237, allocations: 4 kB / 432 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1237, allocations: 0 / 432 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1237, allocations: 0 / 432 MB, free: 15.79 MB / 366.1 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.001311/0.125, allocations: 0.6416 MB / 432.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1251, allocations: 19.97 kB / 432.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.349e-05/0.1251, allocations: 8.625 kB / 432.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.1252, allocations: 54.72 kB / 432.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.1252, allocations: 32.75 kB / 432.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.1257, allocations: 275.6 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1257, allocations: 16.81 kB / 433.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.1257, allocations: 20.38 kB / 433.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.1264, allocations: 277.7 kB / 433.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1264, allocations: 8 kB / 433.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1265, allocations: 7.938 kB / 433.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1265, allocations: 4 kB / 433.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007712/0.1272, allocations: 245.6 kB / 433.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.1289, allocations: 0.9026 MB / 434.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.1304, allocations: 443.3 kB / 434.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1307, allocations: 88.78 kB / 435 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1308, allocations: 0 / 435 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.1312, allocations: 161.8 kB / 435.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1312, allocations: 4.047 kB / 435.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.002138/0.1334, allocations: 0.581 MB / 435.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.1334, allocations: 106.8 kB / 435.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1338, allocations: 270.7 kB / 436.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1338, allocations: 29.7 kB / 436.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.134, allocations: 196 kB / 436.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.134, allocations: 31.75 kB / 436.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/0.1341, allocations: 49.7 kB / 436.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1342, allocations: 338.8 kB / 436.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1346, allocations: 91.92 kB / 436.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.135, allocations: 205.5 kB / 437.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.1358, allocations: 297.5 kB / 437.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1358, allocations: 0 / 437.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001238/0.137, allocations: 442.5 kB / 437.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.137, allocations: 33.7 kB / 437.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1371, allocations: 4 kB / 437.8 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.1374, allocations: 64.88 kB / 437.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.1376, allocations: 47.91 kB / 437.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.14, allocations: 1.605 MB / 439.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.1403, allocations: 51.88 kB / 439.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1403, allocations: 15.98 kB / 439.6 MB, free: 7.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.1405, allocations: 145.7 kB / 439.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.1405, allocations: 23.86 kB / 439.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.1406, allocations: 21.7 kB / 439.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1406, allocations: 4 kB / 439.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1406, allocations: 0 / 439.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1406, allocations: 0 / 439.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.142, allocations: 0.6477 MB / 440.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.142, allocations: 0 / 440.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1421, allocations: 28 kB / 440.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.1424, allocations: 64.75 kB / 440.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1424, allocations: 0 / 440.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.1445, allocations: 1.601 MB / 442.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1445, allocations: 0 / 442.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1455, allocations: 396 kB / 442.5 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.1456, allocations: 96.97 kB / 442.6 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.1456, allocations: 7.984 kB / 442.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.1459, allocations: 31.97 kB / 442.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.146, allocations: 23.91 kB / 442.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.146, allocations: 0 / 442.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.1462, allocations: 194 kB / 442.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1462, allocations: 0 / 442.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000369/0.1466, allocations: 67.88 kB / 442.9 MB, free: 4.035 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/0.148, allocations: 0.9238 MB / 443.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.149, allocations: 385.7 kB / 444.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.149, allocations: 0.8125 kB / 444.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.1495, allocations: 206.7 kB / 444.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1499, allocations: 48.69 kB / 444.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2065/0.3564, allocations: 2.991 MB / 447.5 MB, free: 23.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.3566, allocations: 0.7415 MB / 448.2 MB, free: 22.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.3568, allocations: 28.28 kB / 448.2 MB, free: 22.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.3569, allocations: 74.92 kB / 448.3 MB, free: 22.9 MB / 366.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3569, allocations: 0 / 448.3 MB, free: 22.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.3857, allocations: 6.127 MB / 454.5 MB, free: 22.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.32, allocations: 6.234 kB / 454.5 MB, free: 22.42 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.724443034967408] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.463447600021027 12.477187281 12.350825718 Calling exit ...