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.00181/0.00181, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001919/0.001919, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.02923/0.02923, allocations: 4.293 MB / 313.8 MB, free: 1.949 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/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: MagLev requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 65.92 kB / 436.2 MB, free: 39.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09341, allocations: 54.41 MB / 490.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002316/0.09573, allocations: 1.639 MB / 492.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.09678, allocations: 0.9104 MB / 493.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.09685, allocations: 3.938 kB / 493.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.09734, allocations: 155.5 kB / 493.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.09744, allocations: 67.92 kB / 493.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.083e-05/0.09748, allocations: 9.094 kB / 493.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.09762, allocations: 144.3 kB / 493.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.09768, allocations: 9.594 kB / 493.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.09775, allocations: 51.69 kB / 493.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.09788, allocations: 77.8 kB / 493.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.09791, allocations: 8.5 kB / 493.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.09793, allocations: 8.969 kB / 493.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.09796, allocations: 26.58 kB / 493.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.09801, allocations: 62.23 kB / 493.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.09815, allocations: 95.05 kB / 493.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.09815, allocations: 7.922 kB / 493.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.09815, allocations: 0 / 493.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.09816, allocations: 0.9062 kB / 493.9 MB, free: 10.39 MB / 350.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.0006934/0.09885, allocations: 465.5 kB / 494.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.09889, allocations: 10.19 kB / 494.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.665e-05/0.09891, allocations: 192 / 494.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.087e-05/0.09893, allocations: 35.78 kB / 494.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.09897, allocations: 19.52 kB / 494.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.09915, allocations: 235.8 kB / 494.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.09916, allocations: 1.469 kB / 494.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.09917, allocations: 6.562 kB / 494.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.09927, allocations: 54.16 kB / 494.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.09927, allocations: 0 / 494.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.09928, allocations: 0 / 494.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.09929, allocations: 0.8125 kB / 494.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/0.09934, allocations: 19.3 kB / 494.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.09969, allocations: 311.8 kB / 495 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.09998, allocations: 54.98 kB / 495.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.1, allocations: 18.72 kB / 495.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.1, allocations: 9.453 kB / 495.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.1, allocations: 30.56 kB / 495.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1, allocations: 0 / 495.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001964/0.1002, allocations: 70.16 kB / 495.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.1003, allocations: 52.94 kB / 495.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1005, allocations: 239.9 kB / 495.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.1005, allocations: 25.7 kB / 495.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.1005, allocations: 116.3 kB / 495.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.1005, allocations: 19.83 kB / 495.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.1006, allocations: 17.72 kB / 495.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.1006, allocations: 326.8 kB / 496 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.1006, allocations: 8 kB / 496 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.1007, allocations: 19.92 kB / 496 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.1007, allocations: 28.86 kB / 496.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1007, allocations: 3.938 kB / 496.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.721e-05/0.1008, allocations: 69.59 kB / 496.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1008, allocations: 4 kB / 496.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1008, allocations: 4.125 kB / 496.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1008, allocations: 4 kB / 496.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1009, allocations: 15.98 kB / 496.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1009, allocations: 3.984 kB / 496.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.101, allocations: 15.92 kB / 496.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1011, allocations: 0 / 496.2 MB, free: 8.172 MB / 350.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.312e-05/0.1011, allocations: 121.8 kB / 496.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.1011, allocations: 15.91 kB / 496.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.1012, allocations: 16.92 kB / 496.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1012, allocations: 0 / 496.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1012, allocations: 0 / 496.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1012, allocations: 0 / 496.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1013, allocations: 209.5 kB / 496.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1013, allocations: 0 / 496.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/0.1014, allocations: 11.98 kB / 496.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1014, allocations: 0 / 496.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1014, allocations: 11.98 kB / 496.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1014, allocations: 0 / 496.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1014, allocations: 0 / 496.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1015, allocations: 167.3 kB / 496.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.1016, allocations: 93 kB / 496.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1016, allocations: 4 kB / 496.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1018, allocations: 3.984 kB / 496.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.1018, allocations: 12 kB / 496.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1018, allocations: 0 / 496.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1019, allocations: 173.5 kB / 497 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1019, allocations: 0 / 497 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.1021, allocations: 16 kB / 497 MB, free: 7.234 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: 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.0002348/0.1024, allocations: 0.7006 MB / 497.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1025, allocations: 35.92 kB / 497.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1025, allocations: 0 / 497.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.1025, allocations: 12 kB / 497.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1028, allocations: 18.02 kB / 497.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.1045, allocations: 1.906 MB / 499.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.1046, allocations: 0.7041 MB / 0.4887 GB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.1047, allocations: 12.36 kB / 0.4887 GB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.1048, allocations: 39.42 kB / 0.4887 GB, free: 3.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1048, allocations: 4 kB / 0.4887 GB, free: 3.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.123, allocations: 3.026 MB / 0.4917 GB, free: 0.7305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.462, allocations: 8.438 kB / 0.4917 GB, free: 0.7266 MB / 350.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.224447340006009] Failed to read output from testmodel.py, exit status != 0: 8.587166843994055 8.61103457 8.508574093 Calling exit ...