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.00126/0.00126, 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.001354/0.001354, allocations: 191.5 kB / 24.5 MB, free: 4.09 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.356/1.356, allocations: 225.7 MB / 253.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 51.92 kB / 371.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2395, allocations: 52.18 MB / 423.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003994/0.2435, allocations: 2.786 MB / 426.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2446, allocations: 0.6855 MB / 426.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2448, allocations: 4 kB / 426.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2449, allocations: 43.58 kB / 427 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.2451, allocations: 99.17 kB / 427.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.2453, allocations: 91.83 kB / 427.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.2457, allocations: 358.5 kB / 427.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2459, allocations: 61.61 kB / 427.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2461, allocations: 135.5 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.2463, allocations: 155.3 kB / 427.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.2463, allocations: 28 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.2464, allocations: 28 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.2464, allocations: 67.77 kB / 428 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.2466, allocations: 151.2 kB / 428.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.2469, allocations: 323.6 kB / 428.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2469, allocations: 3.938 kB / 428.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2469, allocations: 0 / 428.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2469, allocations: 0 / 428.4 MB, free: 9.566 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.001194/0.2481, allocations: 0.5741 MB / 429 MB, free: 8.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2482, allocations: 8.031 kB / 429 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.678e-05/0.2482, allocations: 8.625 kB / 429 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.2482, allocations: 54.72 kB / 429.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.2483, allocations: 32.75 kB / 429.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.2487, allocations: 233.9 kB / 429.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.2487, allocations: 12.81 kB / 429.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.2488, allocations: 24.31 kB / 429.4 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.2494, allocations: 281.7 kB / 429.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2494, allocations: 0 / 429.6 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2494, allocations: 4 kB / 429.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2494, allocations: 8 kB / 429.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.2502, allocations: 245.6 kB / 429.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.2517, allocations: 0.9096 MB / 430.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.2526, allocations: 226.6 kB / 431 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.2529, allocations: 96.78 kB / 431.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.2529, allocations: 7.938 kB / 431.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.2534, allocations: 177.8 kB / 431.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.2534, allocations: 224 / 431.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002323/0.2557, allocations: 0.576 MB / 431.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.2558, allocations: 114.7 kB / 432 MB, free: 5.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.2561, allocations: 269.8 kB / 432.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2562, allocations: 29.7 kB / 432.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.2563, allocations: 188 kB / 432.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.2563, allocations: 43.64 kB / 432.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2565, allocations: 41.7 kB / 432.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2566, allocations: 338.8 kB / 432.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.257, allocations: 95.92 kB / 433 MB, free: 4.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.2574, allocations: 186.2 kB / 433.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.2581, allocations: 289.3 kB / 433.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2581, allocations: 0 / 433.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001219/0.2593, allocations: 439.7 kB / 433.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.2593, allocations: 37.69 kB / 433.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2594, allocations: 4 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.2597, allocations: 80.86 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.2599, allocations: 47.91 kB / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.2628, allocations: 1.894 MB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2631, allocations: 55.8 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.2632, allocations: 12 kB / 436 MB, free: 1.531 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.000159/0.2633, allocations: 145.7 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.2634, allocations: 27.8 kB / 436.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.2634, allocations: 25.77 kB / 436.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2634, allocations: 4 kB / 436.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2634, allocations: 0 / 436.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2634, allocations: 3.984 kB / 436.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.2637, allocations: 260.6 kB / 436.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2637, allocations: 4 kB / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.2638, allocations: 23.97 kB / 436.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.2641, allocations: 72.88 kB / 436.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2641, allocations: 11.98 kB / 436.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.2666, allocations: 1.825 MB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2666, allocations: 0 / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2677, allocations: 361.6 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.2677, allocations: 23.8 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.2677, allocations: 4 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.268, allocations: 35.95 kB / 438.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.2681, allocations: 15.97 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2681, allocations: 4 kB / 438.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.2683, allocations: 205.1 kB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2683, allocations: 0 / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.2687, allocations: 67.89 kB / 439.1 MB, free: 14.25 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.001408/0.2701, allocations: 0.8935 MB / 440 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.2714, allocations: 478 kB / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2714, allocations: 8.125 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.2719, allocations: 222.6 kB / 440.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.2722, allocations: 54.03 kB / 440.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/0.2795, allocations: 3.423 MB / 444.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.2799, allocations: 0.748 MB / 444.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.28, allocations: 26.23 kB / 444.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2801, allocations: 79.41 kB / 445 MB, free: 8.094 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2801, allocations: 0 / 445 MB, free: 8.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3102, allocations: 6.566 MB / 451.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.43, allocations: 10.28 kB / 451.6 MB, free: 1.707 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: 14.716411229979713] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.599977108999155 12.616619571 12.366139291 Calling exit ...