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.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.001137/0.001137, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001014/0.001014, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9271/0.9271, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0/package.mo): time 0.01201/0.01201, allocations: 3.196 MB / 262.4 MB, free: 10.07 MB / 250.7 MB " [Timeout remaining time 180] Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0/package.mo) 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(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 1.943e-06/1.943e-06, allocations: 0 / 386.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.106e-05, allocations: 6.219 kB / 386.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001807/0.001828, allocations: 1.565 MB / 388 MB, free: 8.609 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.00268, allocations: 0.8407 MB / 388.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.002728, allocations: 0 / 388.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.003122, allocations: 134 kB / 388.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.00319, allocations: 79.47 kB / 389 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.194e-05/0.003222, allocations: 3.984 kB / 389 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.003333, allocations: 147.2 kB / 389.2 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.003373, allocations: 9.297 kB / 389.2 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.003455, allocations: 75.8 kB / 389.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.003559, allocations: 55.81 kB / 389.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.003585, allocations: 12 kB / 389.3 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.0036, allocations: 8 kB / 389.3 MB, free: 7.246 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.003624, allocations: 23.84 kB / 389.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.003662, allocations: 43.84 kB / 389.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.003773, allocations: 91.64 kB / 389.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003775, allocations: 0 / 389.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003776, allocations: 3.938 kB / 389.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.00378, allocations: 0 / 389.5 MB, free: 7.086 MB / 314.7 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.0005243/0.004305, allocations: 393.5 kB / 389.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.004339, allocations: 8.031 kB / 389.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.004366, allocations: 30.75 kB / 389.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.0044, allocations: 16.84 kB / 389.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.004557, allocations: 182.5 kB / 390.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.004566, allocations: 384 / 390.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.004576, allocations: 4.375 kB / 390.1 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.931e-05/0.004665, allocations: 71.95 kB / 390.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.004671, allocations: 192 / 390.2 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.004682, allocations: 8.109 kB / 390.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004687, allocations: 4 kB / 390.2 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.004731, allocations: 19.94 kB / 390.2 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.005037, allocations: 264 kB / 390.5 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.005224, allocations: 50.61 kB / 390.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.00525, allocations: 20.78 kB / 390.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.005262, allocations: 4 kB / 390.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.005276, allocations: 30.56 kB / 390.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005277, allocations: 0 / 390.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001486/0.005426, allocations: 77.47 kB / 390.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.00545, allocations: 59.41 kB / 390.7 MB, free: 5.707 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.005618, allocations: 231.9 kB / 390.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005629, allocations: 29.7 kB / 390.9 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.005684, allocations: 112.1 kB / 391.1 MB, free: 5.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.005696, allocations: 23.88 kB / 391.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.005722, allocations: 13.72 kB / 391.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.005791, allocations: 330.8 kB / 391.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.00581, allocations: 8 kB / 391.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.005825, allocations: 7.984 kB / 391.4 MB, free: 4.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.005867, allocations: 32.86 kB / 391.5 MB, free: 4.895 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005869, allocations: 3.938 kB / 391.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.625e-05/0.005945, allocations: 81.66 kB / 391.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.005955, allocations: 4 kB / 391.5 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005959, allocations: 0 / 391.5 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.00597, allocations: 0 / 391.5 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.006036, allocations: 15.98 kB / 391.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.006041, allocations: 3.984 kB / 391.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.006092, allocations: 0 / 391.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006097, allocations: 7.984 kB / 391.6 MB, free: 4.773 MB / 314.7 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 5.316e-05/0.006151, allocations: 114.5 kB / 391.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.006172, allocations: 15.84 kB / 391.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.006196, allocations: 25.02 kB / 391.7 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006197, allocations: 192 / 391.7 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.006201, allocations: 4 kB / 391.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006204, allocations: 3.984 kB / 391.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.00632, allocations: 160.7 kB / 391.9 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006322, allocations: 3.938 kB / 391.9 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.006363, allocations: 11.98 kB / 391.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006365, allocations: 0 / 391.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.006372, allocations: 4 kB / 391.9 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006374, allocations: 4 kB / 391.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006375, allocations: 0 / 391.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.006473, allocations: 167.4 kB / 392.1 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.006501, allocations: 27.77 kB / 392.1 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.006516, allocations: 0 / 392.1 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.006588, allocations: 3.938 kB / 392.1 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.006602, allocations: 7.984 kB / 392.1 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.006605, allocations: 0 / 392.1 MB, free: 4.164 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.006709, allocations: 181.5 kB / 392.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006709, allocations: 0 / 392.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.006866, allocations: 23.94 kB / 392.3 MB, free: 3.965 MB / 314.7 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.0002444/0.00711, allocations: 0.6928 MB / 393 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.007189, allocations: 27.97 kB / 393 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.007191, allocations: 3.938 kB / 393 MB, free: 3.215 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.007207, allocations: 12 kB / 393.1 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.007447, allocations: 23.7 kB / 393.1 MB, free: 3.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.008895, allocations: 1.869 MB / 394.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.103e-05/0.008946, allocations: 93.3 kB / 395 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.909e-05/0.008985, allocations: 4.5 kB / 395 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.009044, allocations: 44.47 kB / 395.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009045, allocations: 0 / 395.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02385, allocations: 3.866 MB / 399 MB, free: 13.33 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/6.729, allocations: 0 / 399 MB, free: 13.33 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.664918965660036] Failed to read output from testmodel.py, exit status != 0: 6.809423696249723 6.963180783 6.81175669 Calling exit ...