Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001273/0.001273, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001376/0.001376, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 47.94 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2508, allocations: 53.36 MB / 432 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004316/0.2551, allocations: 2.8 MB / 434.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2564, allocations: 0.7167 MB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2565, allocations: 4 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.2567, allocations: 39.56 kB / 435.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2569, allocations: 99.19 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.2572, allocations: 103.8 kB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.2576, allocations: 350.5 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.2578, allocations: 64.89 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.258, allocations: 131.5 kB / 436.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.2582, allocations: 151.3 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.2583, allocations: 32 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.82e-05/0.2583, allocations: 28 kB / 436.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.2584, allocations: 63.77 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.2586, allocations: 155.1 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.259, allocations: 323.1 kB / 437 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.259, allocations: 4 kB / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.259, allocations: 0 / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.259, allocations: 0 / 437 MB, free: 1.816 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.00125/0.2602, allocations: 0.5741 MB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2603, allocations: 12.03 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.658e-05/0.2603, allocations: 4.625 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.2603, allocations: 54.73 kB / 437.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.805e-05/0.2604, allocations: 32.75 kB / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.2608, allocations: 225.9 kB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2608, allocations: 20.81 kB / 437.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.2608, allocations: 20.38 kB / 437.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.2615, allocations: 277.7 kB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2615, allocations: 0 / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2615, allocations: 12 kB / 438.2 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2615, allocations: 8 kB / 438.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.2622, allocations: 237.6 kB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.2639, allocations: 0.9174 MB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.2647, allocations: 234.5 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.265, allocations: 92.78 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.265, allocations: 7.938 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.2655, allocations: 177.8 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2655, allocations: 0 / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002297/0.2678, allocations: 0.576 MB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.2679, allocations: 110.8 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.2682, allocations: 265.8 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.2682, allocations: 29.7 kB / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2684, allocations: 180 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2684, allocations: 43.69 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.2685, allocations: 45.66 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2686, allocations: 330.8 kB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.269, allocations: 99.92 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.2694, allocations: 174.1 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.27, allocations: 256.4 kB / 441.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.27, allocations: 4 kB / 442 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001204/0.2712, allocations: 438 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.2713, allocations: 33.7 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2713, allocations: 4 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.2717, allocations: 84.84 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2719, allocations: 35.97 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.2746, allocations: 1.855 MB / 444.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.2749, allocations: 51.8 kB / 444.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.2749, allocations: 12 kB / 444.5 MB, free: 9.91 MB / 350.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.0001812/0.2751, allocations: 133.8 kB / 444.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.2751, allocations: 31.86 kB / 444.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.2752, allocations: 25.77 kB / 444.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2752, allocations: 4 kB / 444.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2752, allocations: 0 / 444.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2752, allocations: 0 / 444.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.2755, allocations: 268.5 kB / 444.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2755, allocations: 224 / 444.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.2756, allocations: 23.91 kB / 444.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.2759, allocations: 88.67 kB / 445 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2759, allocations: 4.125 kB / 445 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.2782, allocations: 1.655 MB / 446.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2783, allocations: 0 / 446.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2793, allocations: 360.4 kB / 447 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.2794, allocations: 31.72 kB / 447.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.2794, allocations: 4 kB / 447.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2797, allocations: 31.97 kB / 447.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.2797, allocations: 27.95 kB / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2798, allocations: 0 / 447.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.28, allocations: 189.2 kB / 447.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.28, allocations: 0 / 447.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.2803, allocations: 67.89 kB / 447.4 MB, free: 6.801 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.001411/0.2817, allocations: 0.8941 MB / 448.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009724/0.2827, allocations: 401.8 kB / 448.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2827, allocations: 448 / 448.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.2832, allocations: 226.6 kB / 448.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2835, allocations: 52.53 kB / 448.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.2889, allocations: 2.944 MB / 451.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.2893, allocations: 0.7557 MB / 452.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.2894, allocations: 26.28 kB / 452.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2895, allocations: 71.41 kB / 452.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2895, allocations: 4 kB / 452.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.3209, allocations: 6.569 MB / 459.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.72, allocations: 11.61 kB / 459.3 MB, free: 10.82 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.053811117948499] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.88716421299614 12.903179141 12.641080928 Calling exit ...