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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005838/0.005838, allocations: 103.6 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 201.2 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.1579/0.1579, allocations: 4.233 MB / 294.8 MB, free: 3.215 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.91 kB / 407.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2923, allocations: 50.45 MB / 457.8 MB, free: 20.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002703/0.295, allocations: 1.627 MB / 459.4 MB, free: 18.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2962, allocations: 0.8698 MB / 460.3 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.2963, allocations: 3.094 kB / 460.3 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.297, allocations: 173 kB / 460.4 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.2972, allocations: 55.5 kB / 460.5 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.724e-05/0.2973, allocations: 3.422 kB / 460.5 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.2975, allocations: 151.6 kB / 460.6 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.2976, allocations: 11.75 kB / 460.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.2977, allocations: 52.53 kB / 460.7 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.2979, allocations: 69.66 kB / 460.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.2979, allocations: 9.75 kB / 460.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.672e-05/0.2979, allocations: 10.34 kB / 460.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.298, allocations: 26.7 kB / 460.8 MB, free: 17.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.2981, allocations: 58.61 kB / 460.9 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.2982, allocations: 100.4 kB / 461 MB, free: 17.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2982, allocations: 0 / 461 MB, free: 17.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2982, allocations: 0 / 461 MB, free: 17.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2983, allocations: 0 / 461 MB, free: 17.87 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.0007863/0.2991, allocations: 466.5 kB / 461.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2991, allocations: 9.281 kB / 461.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.2991, allocations: 35.27 kB / 461.5 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.2992, allocations: 19.86 kB / 461.5 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2994, allocations: 245.3 kB / 461.7 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2994, allocations: 4.375 kB / 461.7 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2995, allocations: 4.141 kB / 461.7 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2996, allocations: 51.97 kB / 461.8 MB, free: 17.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2996, allocations: 3.938 kB / 461.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2996, allocations: 0 / 461.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2996, allocations: 0 / 461.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.2997, allocations: 20.23 kB / 461.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.3001, allocations: 318.9 kB / 462.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3004, allocations: 57.3 kB / 462.2 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.3005, allocations: 19.66 kB / 462.2 MB, free: 16.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.3005, allocations: 0 / 462.2 MB, free: 16.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3005, allocations: 34.14 kB / 462.2 MB, free: 16.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3005, allocations: 4 kB / 462.2 MB, free: 16.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002204/0.3008, allocations: 74.39 kB / 462.3 MB, free: 16.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3008, allocations: 56.05 kB / 462.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.301, allocations: 229.5 kB / 462.6 MB, free: 16.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.3011, allocations: 25.7 kB / 462.6 MB, free: 16.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.3011, allocations: 111 kB / 462.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.3012, allocations: 16.06 kB / 462.7 MB, free: 16.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.3012, allocations: 17.62 kB / 462.7 MB, free: 16.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.3013, allocations: 330.7 kB / 463.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.3013, allocations: 11.48 kB / 463.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.3013, allocations: 11.62 kB / 463.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.3014, allocations: 26.47 kB / 463.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3014, allocations: 0 / 463.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.3015, allocations: 72.08 kB / 463.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3015, allocations: 7.875 kB / 463.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3015, allocations: 0.7031 kB / 463.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3016, allocations: 192 / 463.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3017, allocations: 17.3 kB / 463.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3017, allocations: 4 kB / 463.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3018, allocations: 12.59 kB / 463.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3018, allocations: 8.266 kB / 463.2 MB, free: 15.86 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 6.766e-05/0.3019, allocations: 116.8 kB / 463.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.302, allocations: 11.2 kB / 463.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.302, allocations: 14 kB / 463.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.302, allocations: 3.344 kB / 463.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.302, allocations: 4.891 kB / 463.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.302, allocations: 0 / 463.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.3022, allocations: 221.5 kB / 463.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3022, allocations: 0.75 kB / 463.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.3024, allocations: 13.62 kB / 463.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3024, allocations: 0 / 463.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3024, allocations: 1.312 kB / 463.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3024, allocations: 3.25 kB / 463.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3024, allocations: 3.938 kB / 463.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3025, allocations: 163.5 kB / 463.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3026, allocations: 95.56 kB / 463.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.3026, allocations: 3.062 kB / 463.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3028, allocations: 5.453 kB / 463.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.3028, allocations: 4.688 kB / 463.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3028, allocations: 4.5 kB / 463.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.303, allocations: 177.7 kB / 464.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.303, allocations: 0 / 464.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3032, allocations: 20.53 kB / 464.1 MB, free: 15.11 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.0003017/0.3036, allocations: 0.6966 MB / 464.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.3037, allocations: 30.34 kB / 464.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3037, allocations: 0 / 464.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.3037, allocations: 19.52 kB / 464.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3041, allocations: 11.72 kB / 464.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3061, allocations: 1.888 MB / 466.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3062, allocations: 0.7031 MB / 467.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.3063, allocations: 11.81 kB / 467.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.3064, allocations: 37.69 kB / 467.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3064, allocations: 0 / 467.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.3262, allocations: 2.98 MB / 470.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.12, allocations: 5.188 kB / 470.5 MB, free: 11.77 MB / 350.1 MB (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)