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.001163/0.001163, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001129/0.001129, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.9017/0.9017, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.0113/0.0113, allocations: 3.196 MB / 262.4 MB, free: 10.09 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.693e-06/1.693e-06, allocations: 0 / 386.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.973e-05, allocations: 6.281 kB / 386.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001939/0.001959, allocations: 1.572 MB / 387.9 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.002887, allocations: 0.8407 MB / 388.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.002929, allocations: 0 / 388.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.003319, allocations: 137.9 kB / 388.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.883e-05/0.003398, allocations: 75.28 kB / 389 MB, free: 7.578 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.117e-05/0.003429, allocations: 4 kB / 389 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.003544, allocations: 147.2 kB / 389.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.003588, allocations: 9.297 kB / 389.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.003672, allocations: 75.81 kB / 389.2 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.003769, allocations: 51.81 kB / 389.3 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.003791, allocations: 8 kB / 389.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.003806, allocations: 12 kB / 389.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.003832, allocations: 27.84 kB / 389.3 MB, free: 7.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.003869, allocations: 43.84 kB / 389.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004, allocations: 95.62 kB / 389.5 MB, free: 7.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004003, allocations: 0 / 389.5 MB, free: 7.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004004, allocations: 0 / 389.5 MB, free: 7.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004008, allocations: 0 / 389.5 MB, free: 7.113 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.0005338/0.004542, allocations: 393.5 kB / 389.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.004581, allocations: 8.031 kB / 389.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.00461, allocations: 30.75 kB / 389.9 MB, free: 6.652 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.004644, allocations: 16.84 kB / 389.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.004807, allocations: 182.5 kB / 390.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.004817, allocations: 384 / 390.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.004828, allocations: 8.312 kB / 390.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.004929, allocations: 71.95 kB / 390.2 MB, free: 6.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.004936, allocations: 4.172 kB / 390.2 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.004946, allocations: 4.125 kB / 390.2 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.004951, allocations: 4 kB / 390.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.004995, allocations: 19.98 kB / 390.2 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.005322, allocations: 272 kB / 390.5 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.005526, allocations: 54.55 kB / 390.5 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.005554, allocations: 16.8 kB / 390.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.005569, allocations: 4 kB / 390.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.005586, allocations: 30.56 kB / 390.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.005587, allocations: 0 / 390.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001601/0.005747, allocations: 69.59 kB / 390.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002823/0.006029, allocations: 55.41 kB / 390.7 MB, free: 5.734 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.0062, allocations: 235.8 kB / 390.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.006211, allocations: 29.7 kB / 390.9 MB, free: 5.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.006269, allocations: 120 kB / 391.1 MB, free: 5.336 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.006278, allocations: 11.91 kB / 391.1 MB, free: 5.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.006308, allocations: 17.72 kB / 391.1 MB, free: 5.301 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.006381, allocations: 330.8 kB / 391.4 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.006409, allocations: 8 kB / 391.4 MB, free: 4.961 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.006425, allocations: 8 kB / 391.4 MB, free: 4.953 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.006467, allocations: 32.84 kB / 391.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00647, allocations: 4.125 kB / 391.5 MB, free: 4.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.19e-05/0.006552, allocations: 73.55 kB / 391.5 MB, free: 4.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.006566, allocations: 8 kB / 391.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.006571, allocations: 3.984 kB / 391.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006583, allocations: 0 / 391.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.006657, allocations: 19.92 kB / 391.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.006662, allocations: 0 / 391.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.006712, allocations: 0 / 391.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006718, allocations: 3.984 kB / 391.6 MB, free: 4.801 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 6.689e-05/0.006785, allocations: 114.5 kB / 391.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.006807, allocations: 23.84 kB / 391.7 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.00683, allocations: 21.02 kB / 391.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006832, allocations: 0 / 391.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.006837, allocations: 0 / 391.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.006841, allocations: 4 kB / 391.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.006965, allocations: 156.7 kB / 391.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006967, allocations: 3.938 kB / 391.9 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.007012, allocations: 11.98 kB / 391.9 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.007014, allocations: 0 / 391.9 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.007021, allocations: 7.922 kB / 391.9 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007022, allocations: 0 / 391.9 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.007025, allocations: 8 kB / 391.9 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.007131, allocations: 163.4 kB / 392.1 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.007161, allocations: 31.77 kB / 392.1 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.007175, allocations: 0 / 392.1 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.007246, allocations: 3.984 kB / 392.1 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.00726, allocations: 4.234 kB / 392.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.007264, allocations: 0 / 392.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.00737, allocations: 181.5 kB / 392.3 MB, free: 4.016 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00737, allocations: 0 / 392.3 MB, free: 4.016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.007518, allocations: 20 kB / 392.3 MB, free: 3.996 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.0002732/0.007791, allocations: 0.7045 MB / 393 MB, free: 3.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.007873, allocations: 23.98 kB / 393 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007875, allocations: 0 / 393 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.007893, allocations: 15.98 kB / 393.1 MB, free: 3.227 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.008179, allocations: 19.72 kB / 393.1 MB, free: 3.207 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.009661, allocations: 1.883 MB / 395 MB, free: 1.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.009716, allocations: 93.25 kB / 395 MB, free: 1.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.5e-05/0.009761, allocations: 8.484 kB / 395.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.009821, allocations: 40.48 kB / 395.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009821, allocations: 0 / 395.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.02805, allocations: 3.852 MB / 398.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.866, allocations: 2.5 kB / 398.9 MB, free: 13.35 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 & /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: 8.672751588746905] Failed to read output from testmodel.py, exit status != 0: 6.949604832567275 7.084972197 6.952277456 Calling exit ...