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.001324/0.001324, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001473/0.001473, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.953 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.05677/0.05677, allocations: 4.285 MB / 316.7 MB, free: 14.8 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.002014/0.002014, allocations: 71.89 kB / 440.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1039, allocations: 54.44 MB / 495.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.003018/0.1069, allocations: 1.645 MB / 496.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1085, allocations: 0.9149 MB / 497.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.1086, allocations: 0 / 497.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.1093, allocations: 165.8 kB / 497.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1094, allocations: 63.61 kB / 498 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.799e-05/0.1095, allocations: 11.91 kB / 498 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1097, allocations: 139.4 kB / 498.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.1097, allocations: 5.312 kB / 498.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.1098, allocations: 55.72 kB / 498.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.11, allocations: 75.67 kB / 498.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.11, allocations: 8 kB / 498.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.11, allocations: 12 kB / 498.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1101, allocations: 23.84 kB / 498.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.1102, allocations: 59.66 kB / 498.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1104, allocations: 99.45 kB / 498.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1104, allocations: 0 / 498.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1104, allocations: 0 / 498.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1104, allocations: 0 / 498.4 MB, free: 0.4961 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.0009339/0.1113, allocations: 393.5 kB / 498.8 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1113, allocations: 8.031 kB / 498.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.212e-05/0.1114, allocations: 34.75 kB / 498.9 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1114, allocations: 16.84 kB / 498.9 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.1118, allocations: 191.1 kB / 499.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1118, allocations: 384 / 499.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1118, allocations: 8.375 kB / 499.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1119, allocations: 49.81 kB / 499.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1119, allocations: 0 / 499.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.112, allocations: 0 / 499.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.112, allocations: 0 / 499.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.112, allocations: 23.98 kB / 499.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.1125, allocations: 279.9 kB / 499.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1128, allocations: 58.55 kB / 499.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.1129, allocations: 12.86 kB / 499.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1129, allocations: 0 / 499.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1129, allocations: 34.56 kB / 499.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1129, allocations: 0 / 499.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.000226/0.1132, allocations: 77.58 kB / 499.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1132, allocations: 55.34 kB / 499.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1135, allocations: 231.9 kB / 499.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1135, allocations: 25.7 kB / 499.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1136, allocations: 120.1 kB / 0.4883 GB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.1136, allocations: 7.906 kB / 0.4883 GB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1137, allocations: 25.64 kB / 0.4883 GB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1139, allocations: 330.8 kB / 0.4886 GB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.1139, allocations: 8 kB / 0.4887 GB, free: 14.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.1139, allocations: 12 kB / 0.4887 GB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.658e-05/0.114, allocations: 32.97 kB / 0.4887 GB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.114, allocations: 7.938 kB / 0.4887 GB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001197/0.1141, allocations: 73.53 kB / 0.4888 GB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1141, allocations: 4 kB / 0.4888 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1141, allocations: 0 / 0.4888 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1142, allocations: 0 / 0.4888 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1143, allocations: 19.98 kB / 0.4888 GB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1143, allocations: 0 / 0.4888 GB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1144, allocations: 7.938 kB / 0.4888 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1144, allocations: 0 / 0.4888 GB, free: 14.19 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.0001187/0.1145, allocations: 121.8 kB / 0.4889 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.1146, allocations: 15.89 kB / 0.4889 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.1146, allocations: 13.03 kB / 0.489 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1146, allocations: 4.188 kB / 0.489 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1146, allocations: 0 / 0.489 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1146, allocations: 3.984 kB / 0.489 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1149, allocations: 184.6 kB / 0.4891 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1149, allocations: 0 / 0.4891 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.115, allocations: 11.98 kB / 0.4891 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.115, allocations: 0 / 0.4891 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.115, allocations: 8 kB / 0.4892 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.115, allocations: 0 / 0.4892 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.115, allocations: 3.938 kB / 0.4892 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1152, allocations: 167.4 kB / 0.4893 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.1152, allocations: 19.89 kB / 0.4893 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1153, allocations: 4 kB / 0.4893 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1154, allocations: 0 / 0.4893 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.1155, allocations: 7.984 kB / 0.4893 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.1155, allocations: 4.062 kB / 0.4894 GB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1157, allocations: 177.5 kB / 0.4895 GB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1157, allocations: 0 / 0.4895 GB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1159, allocations: 24 kB / 0.4895 GB, free: 13.37 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.0006162/0.1165, allocations: 0.6966 MB / 0.4902 GB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1167, allocations: 35.97 kB / 0.4903 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1167, allocations: 0 / 0.4903 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.1167, allocations: 15.94 kB / 0.4903 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.000439/0.1171, allocations: 15.98 kB / 0.4903 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.1197, allocations: 1.905 MB / 0.4921 GB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1201, allocations: 0.7049 MB / 0.4928 GB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1202, allocations: 8.422 kB / 0.4928 GB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.1203, allocations: 35.42 kB / 0.4929 GB, free: 9.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1203, allocations: 4 kB / 0.4929 GB, free: 9.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.1512, allocations: 3.118 MB / 0.4959 GB, free: 6.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.21, allocations: 12 kB / 0.4959 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 & /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.83857989194803] Failed to read output from testmodel.py, exit status != 0: 11.315996885066852 11.345815027 11.229901506 Calling exit ...