Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MagLev_MagLev.Examples.SteadyStateCharacteristic.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.001217/0.001217, allocations: 111.5 kB / 16.41 MB, free: 6.496 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.001272/0.001272, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.447/1.447, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.04464/0.04464, allocations: 4.228 MB / 301.5 MB, free: 8.465 MB / 238.1 MB " [Timeout remaining time 180] Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo) 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(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 416 MB, free: 26.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08819, allocations: 50.45 MB / 466.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002781/0.091, allocations: 1.623 MB / 468.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.09229, allocations: 0.8759 MB / 469 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.09236, allocations: 0 / 469 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.09292, allocations: 157.4 kB / 469.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.09305, allocations: 62.36 kB / 469.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.023e-05/0.0931, allocations: 0 / 469.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.09329, allocations: 159.2 kB / 469.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.09335, allocations: 13.08 kB / 469.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.09344, allocations: 51.78 kB / 469.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.09361, allocations: 67.69 kB / 469.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.09365, allocations: 12 kB / 469.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.09368, allocations: 8 kB / 469.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.09373, allocations: 23.84 kB / 469.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.09381, allocations: 59.64 kB / 469.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.09398, allocations: 103.7 kB / 469.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09399, allocations: 0 / 469.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.094, allocations: 4 kB / 469.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.094, allocations: 0 / 469.7 MB, free: 5.031 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008584/0.09487, allocations: 462.6 kB / 470.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.09492, allocations: 16.03 kB / 470.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.09496, allocations: 30.75 kB / 470.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.09501, allocations: 24.78 kB / 470.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.0953, allocations: 241 kB / 470.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.09532, allocations: 4.375 kB / 470.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.09533, allocations: 384 / 470.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.09545, allocations: 57.73 kB / 470.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.09547, allocations: 3.984 kB / 470.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.09548, allocations: 3.938 kB / 470.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.0955, allocations: 8 kB / 470.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.939e-05/0.09557, allocations: 15.98 kB / 470.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.09603, allocations: 316.8 kB / 470.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.09634, allocations: 58.55 kB / 470.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.09639, allocations: 12.86 kB / 470.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.0964, allocations: 0 / 470.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.09644, allocations: 38.56 kB / 470.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.09645, allocations: 0 / 470.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002057/0.09666, allocations: 69.59 kB / 471 MB, free: 3.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.09671, allocations: 55.39 kB / 471.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.09699, allocations: 235.8 kB / 471.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.09702, allocations: 25.7 kB / 471.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.09711, allocations: 112.1 kB / 471.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.09714, allocations: 19.78 kB / 471.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.09718, allocations: 25.7 kB / 471.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.09734, allocations: 326.8 kB / 471.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.09738, allocations: 8 kB / 471.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.09741, allocations: 12 kB / 471.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.985e-05/0.0975, allocations: 28.84 kB / 471.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.09751, allocations: 0 / 471.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.09763, allocations: 69.59 kB / 471.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.09766, allocations: 4 kB / 471.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.09766, allocations: 0 / 471.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.09769, allocations: 4 kB / 471.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.09782, allocations: 19.92 kB / 471.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.09783, allocations: 3.984 kB / 471.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.09795, allocations: 7.953 kB / 471.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.09796, allocations: 4.188 kB / 472 MB, free: 2.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/0.09806, allocations: 117.8 kB / 472.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.0981, allocations: 7.953 kB / 472.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.09815, allocations: 20.92 kB / 472.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.09816, allocations: 8 kB / 472.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.09817, allocations: 0 / 472.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.09818, allocations: 0 / 472.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.09842, allocations: 217.5 kB / 472.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09843, allocations: 7.875 kB / 472.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.09854, allocations: 11.98 kB / 472.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.09855, allocations: 0 / 472.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.09856, allocations: 0 / 472.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.09857, allocations: 4 kB / 472.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.09857, allocations: 0 / 472.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.09875, allocations: 171.3 kB / 472.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.09883, allocations: 93.05 kB / 472.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.09886, allocations: 0 / 472.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.09902, allocations: 4 kB / 472.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.09905, allocations: 240 / 472.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.09907, allocations: 11.98 kB / 472.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.09926, allocations: 168.2 kB / 472.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09926, allocations: 0 / 472.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000236/0.09951, allocations: 20 kB / 472.8 MB, free: 1.574 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004784/0.09999, allocations: 0.7106 MB / 473.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.1001, allocations: 27.98 kB / 473.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1001, allocations: 0 / 473.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.1002, allocations: 15.98 kB / 473.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1005, allocations: 16 kB / 473.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.103, allocations: 1.894 MB / 475.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1034, allocations: 0.7041 MB / 476.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.835e-05/0.1035, allocations: 8.422 kB / 476.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.1035, allocations: 35.42 kB / 476.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1036, allocations: 4 kB / 476.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.1289, allocations: 2.98 MB / 479.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.268, allocations: 20.72 kB / 479.2 MB, free: 11.1 MB / 350.1 MB " [Timeout remaining time 652] (rm -f MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; mkfifo MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; head -c 1048576 < MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe >> ../files/MagLev_MagLev.Examples.SteadyStateCharacteristic.sim & python3 -m fmpy simulate --output-file MagLev_MagLev.Examples.SteadyStateCharacteristic_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 MagLev_MagLev_Examples_SteadyStateCharacteristic.fmu > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.862893657991663] Failed to read output from testmodel.py, exit status != 0: 8.33508813206572 8.35356776 8.256980556 Calling exit ...