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.001825/0.001825, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002297/0.002297, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.785 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.03263/0.03263, allocations: 4.292 MB / 316.7 MB, free: 14.63 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.002179/0.002179, allocations: 67.89 kB / 440.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.0961, allocations: 54.45 MB / 495.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.003073/0.09917, allocations: 1.551 MB / 496.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1007, allocations: 0.8194 MB / 497.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1008, allocations: 0 / 497.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.1015, allocations: 149.9 kB / 497.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1017, allocations: 67.47 kB / 497.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.097e-05/0.1018, allocations: 7.984 kB / 497.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.102, allocations: 143.4 kB / 497.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.1021, allocations: 5.312 kB / 497.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1022, allocations: 55.72 kB / 497.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1023, allocations: 67.61 kB / 498 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1024, allocations: 16 kB / 498 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.1024, allocations: 8 kB / 498 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.1024, allocations: 27.84 kB / 498 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.1025, allocations: 47.72 kB / 498.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1027, allocations: 103.5 kB / 498.2 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1027, allocations: 0 / 498.2 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1027, allocations: 0 / 498.2 MB, free: 484 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1027, allocations: 7.938 kB / 498.2 MB, free: 476 kB / 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.0009166/0.1037, allocations: 385.5 kB / 498.5 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1037, allocations: 12.03 kB / 498.5 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.1038, allocations: 34.73 kB / 498.6 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.1038, allocations: 12.08 kB / 498.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1041, allocations: 187.2 kB / 498.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1042, allocations: 4.375 kB / 498.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1042, allocations: 384 / 498.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1043, allocations: 72.33 kB / 498.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1043, allocations: 0 / 498.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1043, allocations: 7.938 kB / 498.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.1043, allocations: 4 kB / 498.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.1044, allocations: 19.92 kB / 498.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.1049, allocations: 268 kB / 499.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1053, allocations: 50.55 kB / 499.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.1053, allocations: 16.86 kB / 499.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1053, allocations: 0 / 499.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1053, allocations: 42.55 kB / 499.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1053, allocations: 4 kB / 499.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002476/0.1056, allocations: 73.53 kB / 499.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1056, allocations: 51.41 kB / 499.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.1059, allocations: 227.9 kB / 499.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.106, allocations: 29.7 kB / 499.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.106, allocations: 112.1 kB / 499.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1061, allocations: 11.89 kB / 499.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1061, allocations: 21.66 kB / 499.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1063, allocations: 330.8 kB / 0.4884 GB, free: 14.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.1063, allocations: 4 kB / 0.4884 GB, free: 14.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.1063, allocations: 19.98 kB / 0.4884 GB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.1064, allocations: 28.8 kB / 0.4884 GB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1064, allocations: 0 / 0.4884 GB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001301/0.1065, allocations: 77.53 kB / 0.4885 GB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1065, allocations: 4 kB / 0.4885 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1066, allocations: 192 / 0.4885 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1066, allocations: 7.938 kB / 0.4885 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1067, allocations: 15.98 kB / 0.4885 GB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1067, allocations: 3.984 kB / 0.4885 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1068, allocations: 7.938 kB / 0.4885 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1068, allocations: 4 kB / 0.4885 GB, free: 14.15 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.0001111/0.1069, allocations: 117.8 kB / 0.4887 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.107, allocations: 19.84 kB / 0.4887 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.107, allocations: 17.03 kB / 0.4887 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.107, allocations: 0 / 0.4887 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.107, allocations: 3.938 kB / 0.4887 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.107, allocations: 3.984 kB / 0.4887 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1072, allocations: 164.6 kB / 0.4889 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1072, allocations: 192 / 0.4889 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.1073, allocations: 11.98 kB / 0.4889 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1073, allocations: 8 kB / 0.4889 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1074, allocations: 3.984 kB / 0.4889 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1074, allocations: 0 / 0.4889 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1074, allocations: 0 / 0.4889 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.1075, allocations: 171.4 kB / 0.489 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1076, allocations: 19.89 kB / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1076, allocations: 0 / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1078, allocations: 4 kB / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1078, allocations: 3.984 kB / 0.4891 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1078, allocations: 4 kB / 0.4891 GB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.108, allocations: 181.4 kB / 0.4892 GB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.108, allocations: 4 kB / 0.4892 GB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1082, allocations: 16 kB / 0.4893 GB, free: 13.34 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.0004919/0.1087, allocations: 0.7006 MB / 0.4899 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.1089, allocations: 31.92 kB / 0.49 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1089, allocations: 0 / 0.49 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.1089, allocations: 11.98 kB / 0.49 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1093, allocations: 12 kB / 0.49 GB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.1118, allocations: 1.901 MB / 0.4919 GB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.1119, allocations: 94.03 kB / 0.4919 GB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.554e-05/0.1119, allocations: 16.36 kB / 0.492 GB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.112, allocations: 31.42 kB / 0.492 GB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.112, allocations: 0 / 0.492 GB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.1441, allocations: 3.741 MB / 0.4956 GB, free: 6.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.14, allocations: 3.938 kB / 0.4956 GB, free: 6.82 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.874664796050638] Failed to read output from testmodel.py, exit status != 0: 11.242473498918116 11.268181915 11.16036879 Calling exit ...