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.001784/0.001784, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002196/0.002196, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 8.027 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 43.94 kB / 377.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2451, allocations: 53.37 MB / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004457/0.2495, allocations: 2.8 MB / 434 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2509, allocations: 0.7167 MB / 434.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.251, allocations: 7.938 kB / 434.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.2512, allocations: 47.5 kB / 434.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.2514, allocations: 95.27 kB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2517, allocations: 99.81 kB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.2521, allocations: 350.5 kB / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2523, allocations: 64.89 kB / 435.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.2524, allocations: 131.5 kB / 435.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2527, allocations: 155.3 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.2527, allocations: 32 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.2528, allocations: 28 kB / 435.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.2528, allocations: 67.75 kB / 435.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.253, allocations: 147.2 kB / 435.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.2534, allocations: 327.1 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2534, allocations: 0 / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2534, allocations: 0 / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.2534, allocations: 0 / 436.2 MB, free: 1.797 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.001269/0.2547, allocations: 0.578 MB / 436.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2548, allocations: 8.031 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.622e-05/0.2548, allocations: 54.73 kB / 436.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.2549, allocations: 32.75 kB / 436.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.2553, allocations: 233.8 kB / 437.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2553, allocations: 20.81 kB / 437.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.2554, allocations: 16.38 kB / 437.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.256, allocations: 273.9 kB / 437.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.256, allocations: 4 kB / 437.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.256, allocations: 12 kB / 437.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.256, allocations: 4 kB / 437.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/0.2567, allocations: 245.5 kB / 437.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2583, allocations: 0.9097 MB / 438.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.2591, allocations: 234.5 kB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.2594, allocations: 104.9 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2595, allocations: 3.938 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005197/0.26, allocations: 173.8 kB / 439.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.26, allocations: 4 kB / 439.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002313/0.2623, allocations: 0.576 MB / 439.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.2624, allocations: 110.8 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2627, allocations: 273.8 kB / 440 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.2627, allocations: 29.7 kB / 440.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.2629, allocations: 184 kB / 440.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.2629, allocations: 39.69 kB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.263, allocations: 49.66 kB / 440.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2631, allocations: 330.8 kB / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.2635, allocations: 107.9 kB / 440.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.2638, allocations: 186.1 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.2645, allocations: 282.1 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2645, allocations: 0 / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001156/0.2656, allocations: 454.3 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.2657, allocations: 29.7 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2657, allocations: 4 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000368/0.2661, allocations: 76.86 kB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.2663, allocations: 51.91 kB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.2691, allocations: 1.898 MB / 443.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.2694, allocations: 47.81 kB / 443.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2694, allocations: 8 kB / 443.8 MB, free: 9.766 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.0001499/0.2695, allocations: 149.8 kB / 443.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.2696, allocations: 27.8 kB / 444 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.2696, allocations: 29.77 kB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2696, allocations: 0 / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2696, allocations: 0 / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2696, allocations: 0 / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.2699, allocations: 260.5 kB / 444.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2699, allocations: 3.938 kB / 444.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.27, allocations: 24.02 kB / 444.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.2703, allocations: 88.84 kB / 444.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2703, allocations: 0 / 444.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.2726, allocations: 1.82 MB / 446.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2726, allocations: 32 / 446.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.2736, allocations: 361.2 kB / 446.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.2737, allocations: 31.8 kB / 446.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.2737, allocations: 4 kB / 446.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2739, allocations: 35.95 kB / 446.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.274, allocations: 23.91 kB / 446.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.274, allocations: 0 / 446.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.2742, allocations: 193.2 kB / 446.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2742, allocations: 0 / 446.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.2746, allocations: 75.94 kB / 446.9 MB, free: 6.477 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.001327/0.2759, allocations: 0.8902 MB / 447.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.2771, allocations: 469.8 kB / 448.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2771, allocations: 0 / 448.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.2776, allocations: 234.9 kB / 448.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2779, allocations: 46.8 kB / 448.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.2847, allocations: 3.427 MB / 451.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.2852, allocations: 0.748 MB / 452.7 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.2853, allocations: 30.31 kB / 452.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2854, allocations: 75.42 kB / 452.8 MB, free: 340 kB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2854, allocations: 0 / 452.8 MB, free: 340 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.3203, allocations: 6.571 MB / 459.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.59, allocations: 0 / 459.4 MB, free: 9.941 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.020614046999981] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 12.707000921000144 12.737498585 12.478096405 Calling exit ...