Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.001322/0.001322, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002148/0.002148, allocations: 184.5 kB / 23.72 MB, free: 4.699 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.407/1.407, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 55.86 kB / 370.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2568, allocations: 52.18 MB / 422.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004051/0.2609, allocations: 2.793 MB / 425.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.262, allocations: 0.6817 MB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2621, allocations: 7.938 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.2623, allocations: 35.58 kB / 426.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.2625, allocations: 95.25 kB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.2627, allocations: 99.81 kB / 426.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.2632, allocations: 358.5 kB / 426.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.2634, allocations: 60.91 kB / 426.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.2635, allocations: 139.4 kB / 426.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2637, allocations: 151.4 kB / 427.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.2638, allocations: 28 kB / 427.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.714e-05/0.2638, allocations: 31.94 kB / 427.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.2639, allocations: 59.83 kB / 427.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2641, allocations: 143.3 kB / 427.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.2644, allocations: 331.1 kB / 427.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2644, allocations: 4 kB / 427.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2644, allocations: 0 / 427.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2645, allocations: 0 / 427.6 MB, free: 9.582 MB / 334.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.001248/0.2657, allocations: 0.5741 MB / 428.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2657, allocations: 8.031 kB / 428.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.859e-05/0.2658, allocations: 62.66 kB / 428.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.2659, allocations: 32.75 kB / 428.3 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.2662, allocations: 221.9 kB / 428.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2663, allocations: 20.81 kB / 428.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.2663, allocations: 24.38 kB / 428.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.267, allocations: 269.9 kB / 428.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.267, allocations: 4 kB / 428.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.267, allocations: 8 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.267, allocations: 4 kB / 428.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.2677, allocations: 249.5 kB / 429.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2693, allocations: 0.9096 MB / 430 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/0.2701, allocations: 242.5 kB / 430.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.2705, allocations: 88.8 kB / 430.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2705, allocations: 7.984 kB / 430.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.2709, allocations: 173.8 kB / 430.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2709, allocations: 0 / 430.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002323/0.2733, allocations: 0.5831 MB / 431.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.2733, allocations: 106.8 kB / 431.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.2737, allocations: 273.8 kB / 431.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.2737, allocations: 33.7 kB / 431.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.2739, allocations: 180.2 kB / 431.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.2739, allocations: 47.62 kB / 431.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.274, allocations: 53.58 kB / 431.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2742, allocations: 330.8 kB / 432.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.2745, allocations: 107.9 kB / 432.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.2749, allocations: 178.2 kB / 432.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.2756, allocations: 280.9 kB / 432.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2756, allocations: 4 kB / 432.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001201/0.2768, allocations: 443.7 kB / 433.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.2768, allocations: 41.75 kB / 433.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2768, allocations: 0 / 433.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/0.2772, allocations: 80.8 kB / 433.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.2774, allocations: 43.91 kB / 433.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.2804, allocations: 1.894 MB / 435.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.2807, allocations: 51.8 kB / 435.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.2807, allocations: 12 kB / 435.2 MB, free: 1.551 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001543/0.2809, allocations: 141.7 kB / 435.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.2809, allocations: 23.8 kB / 435.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.281, allocations: 33.83 kB / 435.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.281, allocations: 4.156 kB / 435.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.281, allocations: 4 kB / 435.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.281, allocations: 4 kB / 435.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.2813, allocations: 260.5 kB / 435.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2813, allocations: 0 / 435.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2814, allocations: 23.98 kB / 435.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002601/0.2817, allocations: 80.67 kB / 435.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2817, allocations: 7.984 kB / 435.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.2843, allocations: 1.817 MB / 437.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2843, allocations: 0 / 437.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2854, allocations: 357.6 kB / 437.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.2854, allocations: 23.86 kB / 438 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2855, allocations: 128 / 438 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.2857, allocations: 47.89 kB / 438 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.2858, allocations: 19.97 kB / 438 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2858, allocations: 4 kB / 438 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.286, allocations: 197.1 kB / 438.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.286, allocations: 0 / 438.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.2864, allocations: 71.89 kB / 438.3 MB, free: 14.27 MB / 350.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.001485/0.2879, allocations: 0.8863 MB / 439.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.2893, allocations: 481.8 kB / 439.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2893, allocations: 0 / 439.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.2898, allocations: 227 kB / 439.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2901, allocations: 48.41 kB / 439.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/0.2976, allocations: 3.437 MB / 443.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.298, allocations: 0.7401 MB / 444.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.2981, allocations: 30.31 kB / 444.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.2982, allocations: 75.41 kB / 444.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2982, allocations: 4 kB / 444.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.3367, allocations: 6.532 MB / 450.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.02, allocations: 8 kB / 450.8 MB, free: 1.742 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.293223603861406] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 13.134279705118388 13.157737998 12.888852755 Calling exit ...