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.001441/0.001441, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001539/0.001539, allocations: 218 kB / 23.03 MB, free: 4.922 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.02908/0.02908, allocations: 4.287 MB / 317.5 MB, free: 14.64 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="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.001957/0.001957, allocations: 59.91 kB / 441.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.114, allocations: 54.46 MB / 495.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002737/0.1167, allocations: 1.558 MB / 497.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.118, allocations: 0.8194 MB / 498.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.1181, allocations: 0 / 498.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.1186, allocations: 141.9 kB / 498.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1187, allocations: 59.62 kB / 498.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.057e-05/0.1188, allocations: 7.984 kB / 498.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1189, allocations: 151.3 kB / 498.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.119, allocations: 5.312 kB / 498.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.1191, allocations: 55.78 kB / 498.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1192, allocations: 71.62 kB / 498.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1193, allocations: 8 kB / 498.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.571e-05/0.1193, allocations: 8 kB / 498.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.1193, allocations: 27.91 kB / 498.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.1194, allocations: 55.64 kB / 498.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1196, allocations: 99.45 kB / 498.9 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1196, allocations: 0 / 498.9 MB, free: 496 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1196, allocations: 0 / 498.9 MB, free: 496 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1196, allocations: 4 kB / 498.9 MB, free: 492 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.0008409/0.1204, allocations: 389.5 kB / 499.3 MB, free: 72 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1205, allocations: 8.031 kB / 499.3 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.015e-05/0.1205, allocations: 4.188 kB / 499.3 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1205, allocations: 38.75 kB / 499.4 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.1206, allocations: 12.84 kB / 499.4 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1208, allocations: 187.2 kB / 499.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1208, allocations: 384 / 499.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1209, allocations: 4.375 kB / 499.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.121, allocations: 75.27 kB / 499.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.121, allocations: 0 / 499.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.121, allocations: 0 / 499.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.121, allocations: 0 / 499.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.1211, allocations: 23.98 kB / 499.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.1215, allocations: 268 kB / 499.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1218, allocations: 58.59 kB / 500 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.1219, allocations: 16.8 kB / 0.4883 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.1219, allocations: 3.984 kB / 0.4883 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1219, allocations: 34.56 kB / 0.4883 GB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1219, allocations: 0 / 0.4883 GB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.1221, allocations: 77.47 kB / 0.4884 GB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1222, allocations: 55.41 kB / 0.4885 GB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.1225, allocations: 227.9 kB / 0.4887 GB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1225, allocations: 25.7 kB / 0.4887 GB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.1226, allocations: 120.1 kB / 0.4888 GB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1226, allocations: 15.89 kB / 0.4888 GB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1226, allocations: 17.72 kB / 0.4888 GB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1228, allocations: 334.8 kB / 0.4892 GB, free: 14.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.1228, allocations: 7.938 kB / 0.4892 GB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.1228, allocations: 15.98 kB / 0.4892 GB, free: 14.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/0.1229, allocations: 24.86 kB / 0.4892 GB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1229, allocations: 0 / 0.4892 GB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001205/0.123, allocations: 77.72 kB / 0.4893 GB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.123, allocations: 4 kB / 0.4893 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.123, allocations: 0 / 0.4893 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.123, allocations: 4 kB / 0.4893 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1232, allocations: 19.92 kB / 0.4893 GB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1232, allocations: 0 / 0.4893 GB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1233, allocations: 3.938 kB / 0.4893 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1233, allocations: 7.984 kB / 0.4893 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 0.0001072/0.1234, allocations: 117.8 kB / 0.4894 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.1234, allocations: 11.91 kB / 0.4894 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.1235, allocations: 17.03 kB / 0.4895 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1235, allocations: 7.984 kB / 0.4895 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1235, allocations: 0 / 0.4895 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1235, allocations: 4 kB / 0.4895 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1237, allocations: 160.7 kB / 0.4896 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1237, allocations: 0 / 0.4896 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.1238, allocations: 11.98 kB / 0.4896 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1238, allocations: 0 / 0.4896 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1238, allocations: 4 kB / 0.4896 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1238, allocations: 0 / 0.4896 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1238, allocations: 0 / 0.4896 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.124, allocations: 175.3 kB / 0.4898 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.124, allocations: 19.89 kB / 0.4898 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1241, allocations: 0 / 0.4898 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1242, allocations: 11.94 kB / 0.4898 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.1242, allocations: 3.984 kB / 0.4898 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1242, allocations: 0 / 0.4898 GB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.1244, allocations: 185.5 kB / 0.49 GB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1244, allocations: 0 / 0.49 GB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1247, allocations: 16 kB / 0.49 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.0004651/0.1251, allocations: 0.6928 MB / 0.4907 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1252, allocations: 39.91 kB / 0.4907 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1252, allocations: 0 / 0.4907 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.1253, allocations: 12 kB / 0.4908 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1256, allocations: 15.98 kB / 0.4908 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.1282, allocations: 1.905 MB / 0.4926 GB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.036e-05/0.1283, allocations: 90.03 kB / 0.4927 GB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.008e-05/0.1283, allocations: 8.422 kB / 0.4927 GB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.1284, allocations: 39.42 kB / 0.4928 GB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1284, allocations: 0 / 0.4928 GB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1528, allocations: 3.394 MB / 0.4961 GB, free: 7.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.32, allocations: 6.812 kB / 0.4961 GB, free: 7.184 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.948969003977254] Failed to read output from testmodel.py, exit status != 0: 11.476658854051493 11.505462892 11.380839027 Calling exit ...