Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001938/0.001938, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.4 MB / 254.7 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2442/0.2442, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 80.14 kB / 0.4916 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1323, allocations: 66.04 MB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4996/0.6319, allocations: 152.7 MB / 0.7053 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.6338, allocations: 1.057 MB / 0.7063 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.6339, allocations: 0 / 0.7063 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.6342, allocations: 51.17 kB / 0.7063 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.6351, allocations: 262.6 kB / 0.7066 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.6356, allocations: 123 kB / 0.7067 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.6359, allocations: 179.2 kB / 0.7069 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.6359, allocations: 15.92 kB / 0.7069 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.6362, allocations: 91.62 kB / 0.707 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.6363, allocations: 63.73 kB / 0.7071 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.6363, allocations: 8 kB / 0.7071 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000715/0.6371, allocations: 267.7 kB / 0.7073 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.6371, allocations: 15.92 kB / 0.7073 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.6372, allocations: 47.84 kB / 0.7074 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005795/0.6378, allocations: 294.7 kB / 0.7077 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6378, allocations: 0 / 0.7077 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6378, allocations: 0 / 0.7077 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6378, allocations: 0 / 0.7077 GB, free: 5.973 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006625/0.6385, allocations: 411 kB / 0.708 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6385, allocations: 8.031 kB / 0.7081 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.6386, allocations: 42.73 kB / 0.7081 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.6417, allocations: 197.1 kB / 0.7083 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.6421, allocations: 212.7 kB / 0.7085 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.6421, allocations: 8 kB / 0.7085 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.6422, allocations: 8 kB / 0.7085 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.6429, allocations: 218.3 kB / 0.7087 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6429, allocations: 4 kB / 0.7087 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.643, allocations: 7.938 kB / 0.7087 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.643, allocations: 0 / 0.7087 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.6437, allocations: 175.8 kB / 0.7089 GB, free: 4.602 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.6451, allocations: 0.5771 MB / 0.7095 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.6456, allocations: 136.6 kB / 0.7096 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.6458, allocations: 65.08 kB / 0.7096 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.6458, allocations: 8 kB / 0.7097 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.6459, allocations: 34.56 kB / 0.7097 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.6459, allocations: 4 kB / 0.7097 GB, free: 3.707 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.006161/0.652, allocations: 1.301 MB / 0.711 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.6521, allocations: 51.41 kB / 0.711 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.6522, allocations: 121.8 kB / 0.7111 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.6522, allocations: 25.7 kB / 0.7111 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.6523, allocations: 99.98 kB / 0.7112 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.6523, allocations: 71.36 kB / 0.7113 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.6525, allocations: 57.66 kB / 0.7114 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6526, allocations: 322.8 kB / 0.7117 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.6528, allocations: 67.95 kB / 0.7117 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.653, allocations: 115.1 kB / 0.7119 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.6533, allocations: 174 kB / 0.712 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.6533, allocations: 3.938 kB / 0.712 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005257/0.6538, allocations: 262.3 kB / 0.7123 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.6539, allocations: 4 kB / 0.7123 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6539, allocations: 0 / 0.7123 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.6541, allocations: 48.83 kB / 0.7123 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.6544, allocations: 55.91 kB / 0.7124 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004717/0.6549, allocations: 0.5681 MB / 0.7129 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.655, allocations: 8 kB / 0.7129 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.6551, allocations: 23.98 kB / 0.713 GB, free: 164 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.6552, allocations: 125.7 kB / 0.7131 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.6553, allocations: 11.95 kB / 0.7131 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/0.6561, allocations: 351 kB / 0.7134 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6561, allocations: 11.98 kB / 0.7134 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6561, allocations: 0 / 0.7134 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6561, allocations: 0 / 0.7134 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6572, allocations: 0.633 MB / 0.7141 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6572, allocations: 0 / 0.7141 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.6575, allocations: 64.05 kB / 0.7141 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.732e-05/0.6576, allocations: 20.84 kB / 0.7141 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.6576, allocations: 12 kB / 0.7141 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.6587, allocations: 1.363 MB / 0.7155 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6587, allocations: 32 / 0.7155 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.6594, allocations: 441.5 kB / 0.7159 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.6595, allocations: 89.05 kB / 0.716 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.6595, allocations: 4 kB / 0.716 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.6597, allocations: 4.75 kB / 0.716 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.6598, allocations: 27.91 kB / 0.716 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.6598, allocations: 36.05 kB / 0.7161 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.6599, allocations: 83.28 kB / 0.7161 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6599, allocations: 0 / 0.7161 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000426/0.6603, allocations: 83.92 kB / 0.7162 GB, free: 12.56 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/0.6618, allocations: 1.012 MB / 0.7172 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000546/0.6624, allocations: 195.1 kB / 0.7174 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6624, allocations: 3.938 kB / 0.7174 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.6628, allocations: 218.6 kB / 0.7176 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.6632, allocations: 53.22 kB / 0.7176 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.6662, allocations: 2.076 MB / 0.7197 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.6665, allocations: 0.7085 MB / 0.7204 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003143/0.6668, allocations: 77.39 kB / 0.7204 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.667, allocations: 71.39 kB / 0.7205 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.667, allocations: 0 / 0.7205 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.7041, allocations: 7.354 MB / 0.7277 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.79, allocations: 20.17 kB / 0.7277 GB, free: 0.6992 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.987724750302732] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 12.899064037017524 12.916813123 12.276100865 Calling exit ...