Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001782/0.001782, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002086/0.002086, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 230.4 MB / 254.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004445/0.116, allocations: 2.797 MB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1175, allocations: 0.6973 MB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.1176, allocations: 4 kB / 430.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.1178, allocations: 43.52 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.118, allocations: 95.23 kB / 430.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1182, allocations: 87.84 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.1186, allocations: 350.5 kB / 431.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1188, allocations: 56.72 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.119, allocations: 139.4 kB / 431.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1192, allocations: 151.3 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.1192, allocations: 28 kB / 431.5 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.1193, allocations: 28 kB / 431.6 MB, free: 124 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.1193, allocations: 59.77 kB / 431.6 MB, free: 64 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.1195, allocations: 151.3 kB / 431.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.1199, allocations: 330.5 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1199, allocations: 4 kB / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1199, allocations: 0 / 432.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1199, allocations: 0 / 432.1 MB, free: 15.59 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001227/0.1212, allocations: 0.6338 MB / 432.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1212, allocations: 12.03 kB / 432.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.713e-05/0.1212, allocations: 4.625 kB / 432.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.409e-05/0.1213, allocations: 58.72 kB / 432.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.1214, allocations: 36.69 kB / 432.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.1218, allocations: 275.6 kB / 433.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1218, allocations: 20.81 kB / 433.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.1218, allocations: 24.38 kB / 433.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.1224, allocations: 239.2 kB / 433.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1224, allocations: 0 / 433.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1224, allocations: 8 kB / 433.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1225, allocations: 7.938 kB / 433.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.1231, allocations: 225.6 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1247, allocations: 0.8663 MB / 434.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.1253, allocations: 235.7 kB / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.1256, allocations: 84.8 kB / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1256, allocations: 3.938 kB / 434.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.126, allocations: 162.7 kB / 435 MB, free: 12.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.126, allocations: 0 / 435 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001465/0.1275, allocations: 434 kB / 435.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.1276, allocations: 136.5 kB / 435.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1279, allocations: 274.6 kB / 435.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.1279, allocations: 29.7 kB / 435.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1281, allocations: 196 kB / 436 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.1281, allocations: 47.64 kB / 436 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1283, allocations: 49.94 kB / 436.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1284, allocations: 334.8 kB / 436.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.1287, allocations: 80.41 kB / 436.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.1291, allocations: 194.5 kB / 436.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006126/0.1297, allocations: 272.6 kB / 437 MB, free: 10.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1297, allocations: 0 / 437 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009752/0.1307, allocations: 373.5 kB / 437.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.1307, allocations: 41.72 kB / 437.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1307, allocations: 4 kB / 437.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.131, allocations: 56.75 kB / 437.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1313, allocations: 51.89 kB / 437.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.1332, allocations: 1.568 MB / 439 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.1335, allocations: 55.73 kB / 439.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.1335, allocations: 16 kB / 439.1 MB, free: 7.977 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: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.1337, allocations: 144.5 kB / 439.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1338, allocations: 27.86 kB / 439.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.1338, allocations: 25.83 kB / 439.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1338, allocations: 0 / 439.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1338, allocations: 0 / 439.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1338, allocations: 4 kB / 439.3 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.1349, allocations: 0.6044 MB / 439.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.135, allocations: 0 / 439.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1351, allocations: 23.97 kB / 439.9 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.1353, allocations: 64.91 kB / 440 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1353, allocations: 8 kB / 440 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.1371, allocations: 1.564 MB / 441.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1371, allocations: 0 / 441.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007842/0.1379, allocations: 332.1 kB / 441.9 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.138, allocations: 101 kB / 442 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.138, allocations: 4 kB / 442 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1383, allocations: 39.89 kB / 442 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.1383, allocations: 19.92 kB / 442.1 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1384, allocations: 7.984 kB / 442.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.1386, allocations: 194 kB / 442.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1386, allocations: 0 / 442.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.1389, allocations: 67.89 kB / 442.3 MB, free: 4.504 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.1401, allocations: 0.8896 MB / 443.2 MB, free: 3.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000973/0.1411, allocations: 370.4 kB / 443.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1411, allocations: 4.062 kB / 443.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.1415, allocations: 210.5 kB / 443.8 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.142, allocations: 40.72 kB / 443.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2146/0.3565, allocations: 2.93 MB / 446.8 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3568, allocations: 0.7496 MB / 447.5 MB, free: 22.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.3571, allocations: 26.89 kB / 447.5 MB, free: 22.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.3573, allocations: 79.16 kB / 447.6 MB, free: 22.74 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3573, allocations: 0.75 kB / 447.6 MB, free: 22.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.4009, allocations: 6.374 MB / 454 MB, free: 22.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.31, allocations: 10.97 kB / 454 MB, free: 22.22 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.863811290008016] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.455277686996851 12.469013434 12.345943534 Calling exit ...