Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.001238/0.001238, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001325/0.001325, allocations: 197 kB / 21.43 MB, free: 1.609 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.386/1.386, allocations: 225.6 MB / 249.8 MB, free: 3.719 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.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 55.91 kB / 366.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 52.13 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00584/0.1084, allocations: 2.738 MB / 421.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1101, allocations: 0.6817 MB / 421.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1103, allocations: 4 kB / 421.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.1105, allocations: 39.58 kB / 422 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1108, allocations: 91.25 kB / 422.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1111, allocations: 99.81 kB / 422.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005901/0.1117, allocations: 350.6 kB / 422.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.112, allocations: 57.42 kB / 422.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.1122, allocations: 139.5 kB / 422.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1125, allocations: 143.3 kB / 422.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.1126, allocations: 32 kB / 422.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-05/0.1126, allocations: 28 kB / 422.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1127, allocations: 63.77 kB / 423 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.1129, allocations: 143.2 kB / 423.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.1135, allocations: 326.7 kB / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1135, allocations: 0 / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1135, allocations: 0 / 423.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1135, allocations: 3.938 kB / 423.4 MB, free: 7.629 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001799/0.1153, allocations: 0.6469 MB / 424.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1154, allocations: 8.031 kB / 424.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.549e-05/0.1154, allocations: 4.625 kB / 424.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.947e-05/0.1155, allocations: 54.73 kB / 424.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1156, allocations: 36.73 kB / 424.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.1161, allocations: 275.7 kB / 424.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.1162, allocations: 20.8 kB / 424.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.1162, allocations: 20.38 kB / 424.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.1172, allocations: 277.7 kB / 424.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1172, allocations: 3.938 kB / 424.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.1172, allocations: 19.98 kB / 424.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1172, allocations: 4 kB / 424.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1184, allocations: 237.6 kB / 425 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.1205, allocations: 0.9104 MB / 425.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.1221, allocations: 435.4 kB / 426.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.1224, allocations: 92.78 kB / 426.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1224, allocations: 0 / 426.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.1229, allocations: 173.8 kB / 426.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1229, allocations: 0 / 426.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002172/0.1251, allocations: 0.5655 MB / 427.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.1252, allocations: 110.8 kB / 427.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.1255, allocations: 270.7 kB / 427.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.1256, allocations: 33.7 kB / 427.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1257, allocations: 188 kB / 427.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1258, allocations: 36.09 kB / 427.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.1259, allocations: 49.66 kB / 427.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.126, allocations: 334.8 kB / 428.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.1264, allocations: 99.84 kB / 428.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.1268, allocations: 206.2 kB / 428.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.1276, allocations: 293.5 kB / 428.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1276, allocations: 4 kB / 428.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001262/0.1289, allocations: 427.9 kB / 429.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.1289, allocations: 37.7 kB / 429.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1289, allocations: 4 kB / 429.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.1293, allocations: 60.88 kB / 429.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1295, allocations: 59.83 kB / 429.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.1319, allocations: 1.609 MB / 431 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.1323, allocations: 47.81 kB / 431 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1323, allocations: 15.98 kB / 431 MB, free: 15.46 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.0001787/0.1325, allocations: 148 kB / 431.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1325, allocations: 23.86 kB / 431.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.1326, allocations: 29.7 kB / 431.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1326, allocations: 4.031 kB / 431.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1326, allocations: 4 kB / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1326, allocations: 0 / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.134, allocations: 0.6395 MB / 431.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.134, allocations: 0 / 431.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.1341, allocations: 27.97 kB / 431.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.1344, allocations: 56.81 kB / 431.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1344, allocations: 0 / 431.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.1366, allocations: 1.601 MB / 433.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1366, allocations: 0 / 433.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1377, allocations: 392 kB / 433.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.1378, allocations: 96.97 kB / 434 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1378, allocations: 8 kB / 434 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.1381, allocations: 35.95 kB / 434.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.1381, allocations: 11.98 kB / 434.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1382, allocations: 4 kB / 434.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.1384, allocations: 194 kB / 434.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1384, allocations: 0 / 434.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1388, allocations: 71.89 kB / 434.3 MB, free: 11.88 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.001507/0.1403, allocations: 0.9276 MB / 435.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009869/0.1413, allocations: 386.2 kB / 435.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1413, allocations: 0 / 435.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.1417, allocations: 206.5 kB / 435.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1421, allocations: 57.22 kB / 435.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.1475, allocations: 2.991 MB / 438.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1478, allocations: 0.748 MB / 439.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.148, allocations: 30.27 kB / 439.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1481, allocations: 71.42 kB / 439.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1481, allocations: 0 / 439.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.1779, allocations: 6.101 MB / 445.8 MB, free: 324 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.84, allocations: 3.984 kB / 445.8 MB, free: 320 kB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.320673434995115] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.196887089987285 12.207451987 12.091411377 Calling exit ...