Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001471/0.001471, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001488/0.001488, allocations: 191.5 kB / 24.51 MB, free: 4.082 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.348/1.348, allocations: 225.6 MB / 253.3 MB, free: 13.06 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.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 39.94 kB / 371.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2554, allocations: 52.2 MB / 423.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004001/0.2594, allocations: 2.778 MB / 426.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2605, allocations: 0.6894 MB / 426.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.2606, allocations: 7.938 kB / 426.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.2607, allocations: 43.56 kB / 427 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.2609, allocations: 95.25 kB / 427.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.2612, allocations: 91.81 kB / 427.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.2616, allocations: 354.5 kB / 427.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.2617, allocations: 64.89 kB / 427.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.2619, allocations: 143.4 kB / 427.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.2621, allocations: 139.4 kB / 427.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.2621, allocations: 39.88 kB / 427.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.2622, allocations: 28 kB / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.2622, allocations: 59.83 kB / 428 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2624, allocations: 147.2 kB / 428.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.2627, allocations: 321 kB / 428.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2628, allocations: 0 / 428.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2628, allocations: 0 / 428.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2628, allocations: 0 / 428.4 MB, free: 9.625 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.001174/0.2639, allocations: 0.5702 MB / 429 MB, free: 9.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.264, allocations: 12.03 kB / 429 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.264, allocations: 8.625 kB / 429 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.264, allocations: 58.67 kB / 429.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.2641, allocations: 36.75 kB / 429.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.2645, allocations: 225.9 kB / 429.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2645, allocations: 12.81 kB / 429.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.2645, allocations: 24.38 kB / 429.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.2652, allocations: 277.7 kB / 429.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2652, allocations: 0 / 429.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.2652, allocations: 8 kB / 429.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2652, allocations: 4 kB / 429.7 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000731/0.2659, allocations: 249.5 kB / 429.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.2675, allocations: 0.9058 MB / 430.8 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.2683, allocations: 238.5 kB / 431 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.2686, allocations: 88.8 kB / 431.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2686, allocations: 15.91 kB / 431.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004702/0.2691, allocations: 177.8 kB / 431.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2691, allocations: 0 / 431.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002255/0.2714, allocations: 0.576 MB / 431.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.2715, allocations: 114.7 kB / 432 MB, free: 5.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.2717, allocations: 257.9 kB / 432.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2718, allocations: 37.64 kB / 432.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2719, allocations: 180.3 kB / 432.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.272, allocations: 43.64 kB / 432.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.272, allocations: 49.64 kB / 432.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2722, allocations: 330.8 kB / 432.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.2725, allocations: 95.92 kB / 433 MB, free: 4.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.2729, allocations: 164.5 kB / 433.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.2736, allocations: 272.3 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2736, allocations: 0 / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00118/0.2748, allocations: 431.7 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.2748, allocations: 36.81 kB / 433.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2748, allocations: 4 kB / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.2752, allocations: 84.86 kB / 433.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.2754, allocations: 39.91 kB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.278, allocations: 1.839 MB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.2783, allocations: 51.91 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2784, allocations: 8 kB / 435.9 MB, free: 1.719 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001521/0.2785, allocations: 141.8 kB / 436 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.2786, allocations: 27.8 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.2786, allocations: 25.77 kB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2786, allocations: 0 / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-06/0.2786, allocations: 0 / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2786, allocations: 4 kB / 436.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.2789, allocations: 268.5 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2789, allocations: 0 / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.279, allocations: 23.97 kB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.2793, allocations: 84.86 kB / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2793, allocations: 0 / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.2816, allocations: 1.655 MB / 438.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2816, allocations: 0 / 438.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2827, allocations: 360.5 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.2827, allocations: 31.73 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.2827, allocations: 0 / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.283, allocations: 35.95 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.2831, allocations: 19.97 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2831, allocations: 8 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.2833, allocations: 197.1 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2833, allocations: 0 / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.2837, allocations: 71.89 kB / 438.8 MB, free: 14.61 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.001439/0.2851, allocations: 0.8901 MB / 439.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009967/0.2861, allocations: 402 kB / 440.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2861, allocations: 0 / 440.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.2866, allocations: 230.8 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2869, allocations: 48.59 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.292, allocations: 2.931 MB / 443.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.2924, allocations: 0.7479 MB / 444 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.663e-05/0.2925, allocations: 22.3 kB / 444.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2926, allocations: 75.41 kB / 444.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2926, allocations: 0 / 444.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3231, allocations: 6.562 MB / 450.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.46, allocations: 9.172 kB / 450.7 MB, free: 2.652 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.70542649802519] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.626775570970494 12.640771457 12.374801073 Calling exit ...