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.001762/0.001762, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002409/0.002409, allocations: 214.1 kB / 22.25 MB, free: 5.074 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 8.039 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.04156/0.04156, allocations: 4.285 MB / 316.7 MB, free: 14.88 MB / 254.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="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: 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.002825/0.002825, allocations: 63.91 kB / 440.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1484, allocations: 54.44 MB / 495.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002944/0.1514, allocations: 1.641 MB / 496.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1529, allocations: 0.9226 MB / 497.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.1529, allocations: 0 / 497.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.1535, allocations: 157.8 kB / 497.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1536, allocations: 63.61 kB / 498 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.234e-05/0.1536, allocations: 3.984 kB / 498 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1538, allocations: 143.4 kB / 498.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.1539, allocations: 13.23 kB / 498.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.154, allocations: 59.72 kB / 498.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1541, allocations: 71.67 kB / 498.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1542, allocations: 8 kB / 498.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.298e-05/0.1542, allocations: 8 kB / 498.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.1542, allocations: 27.84 kB / 498.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.1543, allocations: 59.66 kB / 498.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1545, allocations: 95.45 kB / 498.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1545, allocations: 4 kB / 498.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1545, allocations: 0 / 498.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1545, allocations: 0 / 498.4 MB, free: 0.6172 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.0009488/0.1554, allocations: 389.5 kB / 498.8 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1555, allocations: 12.03 kB / 498.8 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.1555, allocations: 34.75 kB / 498.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1556, allocations: 12.84 kB / 498.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1558, allocations: 191.1 kB / 499.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1559, allocations: 4.375 kB / 499.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1559, allocations: 4.375 kB / 499.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.156, allocations: 45.81 kB / 499.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.156, allocations: 0 / 499.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.156, allocations: 0 / 499.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.156, allocations: 4 kB / 499.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.1561, allocations: 23.97 kB / 499.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.1565, allocations: 287.9 kB / 499.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.1568, allocations: 54.55 kB / 499.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.1569, allocations: 16.86 kB / 499.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1569, allocations: 0 / 499.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1569, allocations: 30.56 kB / 499.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1569, allocations: 0 / 499.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002259/0.1571, allocations: 81.58 kB / 499.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.1572, allocations: 59.34 kB / 499.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.1575, allocations: 223.9 kB / 499.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1575, allocations: 29.7 kB / 499.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.473e-05/0.1576, allocations: 112.1 kB / 0.4883 GB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.1576, allocations: 15.91 kB / 0.4883 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1577, allocations: 21.7 kB / 0.4883 GB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1578, allocations: 326.8 kB / 0.4886 GB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.1579, allocations: 19.94 kB / 0.4887 GB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.1579, allocations: 11.98 kB / 0.4887 GB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.823e-05/0.1579, allocations: 24.86 kB / 0.4887 GB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1579, allocations: 4 kB / 0.4887 GB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001152/0.158, allocations: 69.53 kB / 0.4888 GB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1581, allocations: 11.94 kB / 0.4888 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1581, allocations: 192 / 0.4888 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1581, allocations: 0 / 0.4888 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1582, allocations: 23.98 kB / 0.4888 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1582, allocations: 0 / 0.4888 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1583, allocations: 7.938 kB / 0.4888 GB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1583, allocations: 0 / 0.4888 GB, free: 14.31 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 0.0001143/0.1585, allocations: 121.8 kB / 0.4889 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.1585, allocations: 15.91 kB / 0.4889 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.1585, allocations: 13.03 kB / 0.489 GB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1585, allocations: 0 / 0.489 GB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1585, allocations: 0 / 0.489 GB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.1586, allocations: 3.984 kB / 0.489 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1588, allocations: 180.6 kB / 0.4891 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1588, allocations: 8 kB / 0.4891 GB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1589, allocations: 11.98 kB / 0.4891 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1589, allocations: 0 / 0.4891 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1589, allocations: 0 / 0.4891 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1589, allocations: 0 / 0.4891 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1589, allocations: 0 / 0.4891 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.1591, allocations: 171.3 kB / 0.4893 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.1592, allocations: 19.89 kB / 0.4893 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1592, allocations: 8 kB / 0.4893 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1593, allocations: 4 kB / 0.4893 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.1594, allocations: 3.984 kB / 0.4893 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.1594, allocations: 4 kB / 0.4894 GB, free: 13.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.1596, allocations: 177.5 kB / 0.4895 GB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1596, allocations: 0 / 0.4895 GB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1598, allocations: 20 kB / 0.4895 GB, free: 13.49 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.0005093/0.1603, allocations: 0.7009 MB / 0.4902 GB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1604, allocations: 23.98 kB / 0.4902 GB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1604, allocations: 3.938 kB / 0.4903 GB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.1605, allocations: 19.92 kB / 0.4903 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1609, allocations: 15.98 kB / 0.4903 GB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.1634, allocations: 1.91 MB / 0.4922 GB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1637, allocations: 0.701 MB / 0.4928 GB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.1638, allocations: 16.42 kB / 0.4929 GB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.1639, allocations: 35.42 kB / 0.4929 GB, free: 9.938 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1639, allocations: 0 / 0.4929 GB, free: 9.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.1937, allocations: 3.114 MB / 0.4959 GB, free: 6.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.07, allocations: 14.42 kB / 0.4959 GB, free: 6.941 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.980549122999946] Failed to read output from testmodel.py, exit status != 0: 11.185678570000164 11.208051676 11.049752679 Calling exit ...