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.00129/0.00129, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.001251/0.001251, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.04813/0.04813, allocations: 4.296 MB / 307 MB, free: 3.203 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.002103/0.002103, allocations: 71.88 kB / 427 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2903, allocations: 53.21 MB / 480.3 MB, free: 25.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002343/0.2926, allocations: 1.634 MB / 481.9 MB, free: 24.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.2935, allocations: 0.882 MB / 482.8 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.2936, allocations: 0 / 482.8 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.294, allocations: 164.4 kB / 482.9 MB, free: 24.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.2941, allocations: 70.8 kB / 483 MB, free: 24.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.625e-05/0.2941, allocations: 10.44 kB / 483 MB, free: 24.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2943, allocations: 143 kB / 483.1 MB, free: 23.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.2943, allocations: 4.156 kB / 483.2 MB, free: 23.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.2944, allocations: 53.64 kB / 483.2 MB, free: 23.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2945, allocations: 70.66 kB / 483.3 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.2945, allocations: 8.969 kB / 483.3 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.2945, allocations: 8.906 kB / 483.3 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.2946, allocations: 29.69 kB / 483.3 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.2946, allocations: 57.23 kB / 483.4 MB, free: 23.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.2948, allocations: 102.1 kB / 483.5 MB, free: 23.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2948, allocations: 3.141 kB / 483.5 MB, free: 23.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2948, allocations: 0 / 483.5 MB, free: 23.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2948, allocations: 0 / 483.5 MB, free: 23.82 MB / 366.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.0006632/0.2954, allocations: 465.2 kB / 483.9 MB, free: 23.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2955, allocations: 11.81 kB / 483.9 MB, free: 23.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.2955, allocations: 34.75 kB / 484 MB, free: 23.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.2955, allocations: 14.91 kB / 484 MB, free: 23.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.2957, allocations: 246.4 kB / 484.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2957, allocations: 384 / 484.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2957, allocations: 7.469 kB / 484.2 MB, free: 23.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.2958, allocations: 53.38 kB / 484.3 MB, free: 23.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2958, allocations: 0 / 484.3 MB, free: 23.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.2958, allocations: 7.938 kB / 484.3 MB, free: 23.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2959, allocations: 0 / 484.3 MB, free: 23.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.2959, allocations: 19.39 kB / 484.3 MB, free: 23.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.2963, allocations: 311.1 kB / 484.6 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.2965, allocations: 50.52 kB / 484.7 MB, free: 22.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.2966, allocations: 18.83 kB / 484.7 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2966, allocations: 4 kB / 484.7 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2966, allocations: 36.78 kB / 484.7 MB, free: 22.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2966, allocations: 0 / 484.7 MB, free: 22.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.2968, allocations: 68.56 kB / 484.8 MB, free: 22.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.2968, allocations: 51.41 kB / 484.8 MB, free: 22.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.297, allocations: 234.3 kB / 485.1 MB, free: 22.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.297, allocations: 25.7 kB / 485.1 MB, free: 22.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.2971, allocations: 110.2 kB / 485.2 MB, free: 22.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.2971, allocations: 22.33 kB / 485.2 MB, free: 22.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.2971, allocations: 16.72 kB / 485.2 MB, free: 22.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.2971, allocations: 325.3 kB / 485.6 MB, free: 21.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.2972, allocations: 17.17 kB / 485.6 MB, free: 21.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.2972, allocations: 10.62 kB / 485.6 MB, free: 21.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.2972, allocations: 32.48 kB / 485.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2972, allocations: 0 / 485.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.746e-05/0.2973, allocations: 69.09 kB / 485.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2973, allocations: 12.5 kB / 485.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2973, allocations: 192 / 485.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2974, allocations: 192 / 485.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2975, allocations: 16.55 kB / 485.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2975, allocations: 3.938 kB / 485.7 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2976, allocations: 14.95 kB / 485.7 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2976, allocations: 3.375 kB / 485.7 MB, free: 21.81 MB / 366.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 5.514e-05/0.2976, allocations: 119.7 kB / 485.9 MB, free: 21.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.2977, allocations: 13.88 kB / 485.9 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.2977, allocations: 19.36 kB / 485.9 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2977, allocations: 0 / 485.9 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2977, allocations: 3.094 kB / 485.9 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2977, allocations: 0 / 485.9 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.2979, allocations: 211.5 kB / 486.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2979, allocations: 3.938 kB / 486.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.298, allocations: 15.88 kB / 486.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.298, allocations: 2.938 kB / 486.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.298, allocations: 0 / 486.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.298, allocations: 0 / 486.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.298, allocations: 0 / 486.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.2981, allocations: 174.4 kB / 486.3 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.2981, allocations: 91.48 kB / 486.4 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.2981, allocations: 0 / 486.4 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2983, allocations: 3.031 kB / 486.4 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.2983, allocations: 6.234 kB / 486.4 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2983, allocations: 4 kB / 486.4 MB, free: 21.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.2985, allocations: 178.1 kB / 486.6 MB, free: 21.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2985, allocations: 4 kB / 486.6 MB, free: 21.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.2987, allocations: 15.81 kB / 486.6 MB, free: 21.07 MB / 366.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.0002626/0.2989, allocations: 0.7002 MB / 487.3 MB, free: 20.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.299, allocations: 30.44 kB / 487.3 MB, free: 20.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2991, allocations: 0 / 487.3 MB, free: 20.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.2991, allocations: 20.2 kB / 487.3 MB, free: 20.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2994, allocations: 14.27 kB / 487.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3012, allocations: 1.888 MB / 489.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.3014, allocations: 0.7068 MB / 489.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.493e-05/0.3014, allocations: 6.828 kB / 490 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.3015, allocations: 36.8 kB / 490 MB, free: 18.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3015, allocations: 0 / 490 MB, free: 18.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.3292, allocations: 2.991 MB / 493 MB, free: 17.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.545, allocations: 7.578 kB / 493 MB, free: 17.71 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MagLev_MagLev_Examples_SteadyStateCharacteristic_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 MagLev_MagLev_Examples_SteadyStateCharacteristic.fmu > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.203919840045273] Failed to read output from testmodel.py, exit status != 0: 8.615164855960757 8.634224833 8.335752306 Calling exit ...