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.001819/0.001819, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002187/0.002187, allocations: 217.8 kB / 22.25 MB, free: 4.855 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.781 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.03154/0.03154, allocations: 4.303 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.001923/0.001923, allocations: 71.89 kB / 440.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09907, allocations: 54.45 MB / 495.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002787/0.1019, allocations: 1.559 MB / 496.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1032, allocations: 0.8156 MB / 497.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.1033, allocations: 3.938 kB / 497.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.1038, allocations: 141.7 kB / 497.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.1039, allocations: 67.59 kB / 497.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.18e-05/0.104, allocations: 7.984 kB / 497.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1041, allocations: 147.2 kB / 497.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1042, allocations: 9.312 kB / 497.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.1043, allocations: 55.78 kB / 497.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1044, allocations: 67.66 kB / 498 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1044, allocations: 8 kB / 498 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.743e-05/0.1045, allocations: 8 kB / 498 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.1045, allocations: 23.86 kB / 498 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.1046, allocations: 47.72 kB / 498 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1047, allocations: 103.5 kB / 498.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1047, allocations: 0 / 498.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1047, allocations: 0 / 498.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1047, allocations: 0 / 498.1 MB, free: 0.4922 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.0007995/0.1055, allocations: 393.5 kB / 498.5 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1056, allocations: 8.031 kB / 498.5 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1056, allocations: 34.75 kB / 498.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.1056, allocations: 16.84 kB / 498.6 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1059, allocations: 191.2 kB / 498.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1059, allocations: 384 / 498.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1059, allocations: 4.375 kB / 498.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1061, allocations: 83.44 kB / 498.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1061, allocations: 0 / 498.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1061, allocations: 0 / 498.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1061, allocations: 0 / 498.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.1061, allocations: 19.98 kB / 498.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1066, allocations: 264 kB / 499.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1069, allocations: 58.55 kB / 499.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.1069, allocations: 16.84 kB / 499.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1069, allocations: 7.938 kB / 499.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1069, allocations: 30.56 kB / 499.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1069, allocations: 0 / 499.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002022/0.1071, allocations: 73.58 kB / 499.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1072, allocations: 55.41 kB / 499.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1075, allocations: 231.8 kB / 499.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1075, allocations: 29.7 kB / 499.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.1076, allocations: 116 kB / 499.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.1076, allocations: 15.91 kB / 499.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1076, allocations: 21.72 kB / 499.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1078, allocations: 330.8 kB / 0.4884 GB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.1078, allocations: 15.92 kB / 0.4884 GB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.1078, allocations: 8 kB / 0.4884 GB, free: 14.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.1079, allocations: 28.86 kB / 0.4884 GB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1079, allocations: 0 / 0.4884 GB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001218/0.108, allocations: 69.59 kB / 0.4885 GB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.108, allocations: 4 kB / 0.4885 GB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.108, allocations: 0 / 0.4885 GB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.108, allocations: 0 / 0.4885 GB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1082, allocations: 27.91 kB / 0.4885 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1082, allocations: 0 / 0.4885 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1083, allocations: 8.125 kB / 0.4885 GB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1083, allocations: 8 kB / 0.4885 GB, free: 14.16 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 9.675e-05/0.1084, allocations: 117.8 kB / 0.4887 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.1084, allocations: 11.91 kB / 0.4887 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.1085, allocations: 17.02 kB / 0.4887 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1085, allocations: 0 / 0.4887 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1085, allocations: 4 kB / 0.4887 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1085, allocations: 0 / 0.4887 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.1087, allocations: 168.6 kB / 0.4888 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1087, allocations: 4 kB / 0.4889 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.1088, allocations: 11.98 kB / 0.4889 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1088, allocations: 0 / 0.4889 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1088, allocations: 0 / 0.4889 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1088, allocations: 4 kB / 0.4889 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1088, allocations: 3.984 kB / 0.4889 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.109, allocations: 171.3 kB / 0.489 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.109, allocations: 19.89 kB / 0.4891 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.109, allocations: 0 / 0.4891 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1092, allocations: 4 kB / 0.4891 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.1092, allocations: 11.98 kB / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1092, allocations: 0 / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1094, allocations: 177.5 kB / 0.4892 GB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1094, allocations: 0 / 0.4892 GB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1096, allocations: 24 kB / 0.4893 GB, free: 13.36 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.0004822/0.1101, allocations: 0.6928 MB / 0.4899 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.1102, allocations: 27.98 kB / 0.49 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1102, allocations: 0 / 0.49 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.1103, allocations: 16 kB / 0.49 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1106, allocations: 19.92 kB / 0.49 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.113, allocations: 1.901 MB / 0.4919 GB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.841e-05/0.1131, allocations: 94.03 kB / 0.4919 GB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.1132, allocations: 8.797 kB / 0.492 GB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.1132, allocations: 39.41 kB / 0.492 GB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1132, allocations: 3.938 kB / 0.492 GB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.1434, allocations: 3.738 MB / 0.4956 GB, free: 6.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.01, allocations: 6.344 kB / 0.4956 GB, free: 6.832 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 & /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: 13.45510504906997] Failed to read output from testmodel.py, exit status != 0: 11.111720039974898 11.128076044 11.020400185 Calling exit ...