Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.0017/0.0017, allocations: 112.2 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.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.001707/0.001707, allocations: 208.3 kB / 24.52 MB, free: 4.074 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 47.92 kB / 378.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2531, allocations: 53.37 MB / 432 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004414/0.2575, allocations: 2.805 MB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2591, allocations: 0.7128 MB / 435.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.2592, allocations: 7.938 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.2594, allocations: 47.56 kB / 435.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.2596, allocations: 95.19 kB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.2599, allocations: 103.8 kB / 435.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.2603, allocations: 350.6 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.2605, allocations: 60.89 kB / 436.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.2607, allocations: 135.5 kB / 436.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.2609, allocations: 151.3 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.261, allocations: 32 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.261, allocations: 32 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.2611, allocations: 71.67 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2613, allocations: 143.3 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.2617, allocations: 327.5 kB / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2617, allocations: 0 / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2617, allocations: 0 / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2617, allocations: 0 / 437 MB, free: 1.758 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.0013/0.263, allocations: 0.5702 MB / 437.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.2631, allocations: 12.03 kB / 437.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.032e-05/0.2631, allocations: 8.625 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.2631, allocations: 54.73 kB / 437.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.2632, allocations: 28.75 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.2636, allocations: 233.8 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2637, allocations: 16.81 kB / 437.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.2637, allocations: 20.38 kB / 437.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.2643, allocations: 277.7 kB / 438.2 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2644, allocations: 0 / 438.2 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2644, allocations: 12 kB / 438.2 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2644, allocations: 4 kB / 438.2 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/0.2652, allocations: 253.5 kB / 438.5 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.2668, allocations: 0.9057 MB / 439.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.2677, allocations: 234.5 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.268, allocations: 104.7 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.268, allocations: 3.938 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.2685, allocations: 177.8 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2685, allocations: 0 / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002342/0.2708, allocations: 0.5829 MB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.2709, allocations: 106.8 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.2713, allocations: 273.8 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2713, allocations: 29.7 kB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.2715, allocations: 184 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.2715, allocations: 35.69 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.2716, allocations: 57.66 kB / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2718, allocations: 330.8 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.2721, allocations: 95.92 kB / 441.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.2725, allocations: 190.1 kB / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006955/0.2732, allocations: 282.1 kB / 442 MB, free: 12.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2732, allocations: 0 / 442 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001267/0.2745, allocations: 454.2 kB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.2746, allocations: 29.7 kB / 442.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2746, allocations: 4 kB / 442.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.275, allocations: 76.86 kB / 442.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.2752, allocations: 47.91 kB / 442.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.2782, allocations: 1.894 MB / 444.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.2785, allocations: 55.91 kB / 444.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.2786, allocations: 8 kB / 444.6 MB, free: 9.727 MB / 350.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.0001739/0.2787, allocations: 145.7 kB / 444.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.2788, allocations: 31.83 kB / 444.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.2788, allocations: 29.98 kB / 444.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2788, allocations: 0 / 444.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.2788, allocations: 3.938 kB / 444.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2788, allocations: 0 / 444.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.2792, allocations: 268.5 kB / 445 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2792, allocations: 0 / 445 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.2794, allocations: 19.97 kB / 445.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.2796, allocations: 84.73 kB / 445.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2796, allocations: 0 / 445.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.2822, allocations: 1.816 MB / 447 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2822, allocations: 3.984 kB / 447 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.2834, allocations: 357.6 kB / 447.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.2834, allocations: 27.8 kB / 447.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.2835, allocations: 7.938 kB / 447.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2837, allocations: 35.95 kB / 447.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.2838, allocations: 19.97 kB / 447.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2838, allocations: 4 kB / 447.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.284, allocations: 193.2 kB / 447.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.284, allocations: 0 / 447.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004734/0.2845, allocations: 71.94 kB / 447.7 MB, free: 6.441 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.001406/0.2859, allocations: 0.8902 MB / 448.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.2872, allocations: 477.8 kB / 449 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2872, allocations: 0 / 449 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.2877, allocations: 226.5 kB / 449.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2881, allocations: 63.34 kB / 449.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007637/0.2957, allocations: 3.427 MB / 452.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.2962, allocations: 0.744 MB / 453.5 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.2963, allocations: 34.2 kB / 453.5 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.2964, allocations: 79.41 kB / 453.6 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2964, allocations: 0 / 453.6 MB, free: 288 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.3275, allocations: 6.583 MB / 460.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.76, allocations: 7.984 kB / 460.2 MB, free: 9.879 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.088714714976959] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.923316703003366 12.937600122 12.672949281 Calling exit ...