Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 8.031 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 64.78 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2492, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00418/0.2534, allocations: 2.842 MB / 434.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2546, allocations: 0.6778 MB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2547, allocations: 4 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.2549, allocations: 51.5 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.2551, allocations: 95.19 kB / 435.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.2553, allocations: 83.88 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.2557, allocations: 374.5 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2559, allocations: 91.34 kB / 436.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.2561, allocations: 155.4 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.2563, allocations: 159.4 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.2564, allocations: 39.98 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.015e-05/0.2564, allocations: 32 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.2565, allocations: 75.7 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.2567, allocations: 163.2 kB / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.2571, allocations: 378.5 kB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2571, allocations: 0 / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2571, allocations: 0 / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2571, allocations: 0 / 437.1 MB, free: 1.68 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00123/0.2583, allocations: 0.5975 MB / 437.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2584, allocations: 8.031 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.2584, allocations: 58.73 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.2585, allocations: 44.69 kB / 437.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.2589, allocations: 207 kB / 438 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2589, allocations: 20.88 kB / 438 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.2589, allocations: 28.31 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.2596, allocations: 302.7 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2596, allocations: 0 / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.2596, allocations: 12 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2596, allocations: 8 kB / 438.4 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.2603, allocations: 245.5 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.262, allocations: 1.07 MB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.2627, allocations: 198.5 kB / 439.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.2629, allocations: 84.78 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.263, allocations: 0 / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.2634, allocations: 177.9 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.2634, allocations: 0 / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001834/0.2652, allocations: 445.8 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.2653, allocations: 102.8 kB / 440.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.2656, allocations: 281.8 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2656, allocations: 33.7 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2658, allocations: 196 kB / 441.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.2658, allocations: 43.69 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.2659, allocations: 53.89 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.266, allocations: 338.8 kB / 441.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.2664, allocations: 88.16 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.2667, allocations: 209.6 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.2674, allocations: 305.4 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2674, allocations: 4 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001075/0.2685, allocations: 419.8 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.2685, allocations: 37.69 kB / 442.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2685, allocations: 7.938 kB / 442.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.2688, allocations: 72.91 kB / 442.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.269, allocations: 47.89 kB / 442.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.2713, allocations: 1.62 MB / 444.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.2716, allocations: 51.81 kB / 444.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2716, allocations: 15.98 kB / 444.5 MB, free: 9.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.2718, allocations: 160.5 kB / 444.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.2718, allocations: 27.81 kB / 444.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.2719, allocations: 29.7 kB / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2719, allocations: 0 / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2719, allocations: 0 / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2719, allocations: 4 kB / 444.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2721, allocations: 268.5 kB / 444.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2721, allocations: 0 / 444.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2722, allocations: 23.92 kB / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.2725, allocations: 68.73 kB / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2725, allocations: 4 kB / 445 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.2745, allocations: 1.608 MB / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2745, allocations: 0 / 446.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.2755, allocations: 309.5 kB / 446.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.2755, allocations: 35.83 kB / 447 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.2756, allocations: 8 kB / 447 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2758, allocations: 27.97 kB / 447 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.2759, allocations: 27.95 kB / 447 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2759, allocations: 3.938 kB / 447 MB, free: 7.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.2761, allocations: 201.2 kB / 447.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2761, allocations: 0 / 447.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.2764, allocations: 79.89 kB / 447.3 MB, free: 6.77 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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/0.2776, allocations: 0.8472 MB / 448.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009234/0.2786, allocations: 413.8 kB / 448.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2786, allocations: 0 / 448.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.279, allocations: 223.2 kB / 448.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2793, allocations: 40.97 kB / 448.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.284, allocations: 2.991 MB / 451.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2844, allocations: 0.7558 MB / 452.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.2845, allocations: 34.2 kB / 452.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2846, allocations: 71.42 kB / 452.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2846, allocations: 0 / 452.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.3197, allocations: 7.016 MB / 459.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.88, allocations: 11.56 kB / 459.7 MB, free: 10.28 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_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-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.23751307092607] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 11.97065955400467 11.984681544 11.724733399 Calling exit ...