Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.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.001327/0.001327, allocations: 121.6 kB / 18.5 MB, free: 4.578 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.0014/0.0014, allocations: 205 kB / 21.45 MB, free: 1.629 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.46/1.46, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.2197/0.2197, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",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.002312/0.002312, allocations: 79.86 kB / 0.4917 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.129, allocations: 66.05 MB / 0.5562 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4437/0.5727, allocations: 154.8 MB / 0.7074 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.5744, allocations: 1.193 MB / 0.7085 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.5745, allocations: 0 / 0.7085 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.5746, allocations: 44.73 kB / 0.7086 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.135e-05/0.5747, allocations: 23.8 kB / 0.7086 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.576, allocations: 441.8 kB / 0.709 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.5762, allocations: 67.61 kB / 0.7091 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.5762, allocations: 11.98 kB / 0.7091 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.872e-05/0.5763, allocations: 35.84 kB / 0.7091 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.5764, allocations: 23.92 kB / 0.7091 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.5764, allocations: 4 kB / 0.7091 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.5775, allocations: 0.5107 MB / 0.7096 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.5775, allocations: 8.859 kB / 0.7096 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.5776, allocations: 23.94 kB / 0.7097 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.5782, allocations: 318.9 kB / 0.71 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5782, allocations: 0 / 0.71 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5782, allocations: 0 / 0.71 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5782, allocations: 0 / 0.71 GB, free: 3.594 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006255/0.5788, allocations: 414.8 kB / 0.7104 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5788, allocations: 8.031 kB / 0.7104 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.5789, allocations: 38.73 kB / 0.7104 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.5789, allocations: 10 kB / 0.7104 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.579, allocations: 178 kB / 0.7106 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.579, allocations: 8 kB / 0.7106 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.5791, allocations: 8 kB / 0.7106 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.5792, allocations: 73.03 kB / 0.7107 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5792, allocations: 0 / 0.7107 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.5792, allocations: 0 / 0.7107 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5792, allocations: 4 kB / 0.7107 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.5793, allocations: 43.97 kB / 0.7107 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.5798, allocations: 388.6 kB / 0.7111 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.5799, allocations: 58.55 kB / 0.7111 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.5799, allocations: 20.86 kB / 0.7112 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/0.5819, allocations: 1.225 MB / 0.7124 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5819, allocations: 38.62 kB / 0.7124 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.5819, allocations: 0 / 0.7124 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.007208/0.5891, allocations: 0.6499 MB / 0.713 GB, free: 28 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.5892, allocations: 55.41 kB / 0.7131 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.5893, allocations: 105.8 kB / 0.7132 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.5894, allocations: 25.7 kB / 0.7132 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.5894, allocations: 100.8 kB / 0.7133 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.5895, allocations: 47.59 kB / 0.7134 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5896, allocations: 41.67 kB / 0.7134 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5898, allocations: 322.8 kB / 0.7137 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.59, allocations: 87.81 kB / 0.7138 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.5902, allocations: 102.5 kB / 0.7139 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.5907, allocations: 202.5 kB / 0.7141 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5907, allocations: 3.938 kB / 0.7141 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006172/0.5913, allocations: 241.5 kB / 0.7143 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5913, allocations: 9.562 kB / 0.7143 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5914, allocations: 3.984 kB / 0.7143 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5914, allocations: 8 kB / 0.7143 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/0.5921, allocations: 47.95 kB / 0.7144 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5921, allocations: 4 kB / 0.7144 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.5927, allocations: 15.98 kB / 0.7144 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.5927, allocations: 11.98 kB / 0.7144 GB, free: 14.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001342/0.5928, allocations: 121.7 kB / 0.7145 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.5929, allocations: 7.953 kB / 0.7145 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/0.5938, allocations: 354 kB / 0.7149 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5938, allocations: 4 kB / 0.7149 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5938, allocations: 0 / 0.7149 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5938, allocations: 0 / 0.7149 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.595, allocations: 0.7604 MB / 0.7156 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.595, allocations: 3.938 kB / 0.7156 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.5957, allocations: 47.91 kB / 0.7157 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.5957, allocations: 0 / 0.7157 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.5957, allocations: 11.98 kB / 0.7157 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5957, allocations: 0 / 0.7157 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5957, allocations: 3.938 kB / 0.7157 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.5964, allocations: 349.8 kB / 0.716 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.5965, allocations: 109 kB / 0.7161 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.5966, allocations: 4 kB / 0.7161 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/0.5972, allocations: 15.98 kB / 0.7161 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.5972, allocations: 11.92 kB / 0.7161 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.5972, allocations: 15.92 kB / 0.7162 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.5973, allocations: 83.28 kB / 0.7162 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5973, allocations: 0 / 0.7162 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004957/0.5978, allocations: 103.7 kB / 0.7163 GB, free: 12.43 MB / 0.5294 GB 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 (19): * Single equations (assignments): 19 * 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.001423/0.5992, allocations: 1.005 MB / 0.7173 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.5998, allocations: 199.8 kB / 0.7175 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5998, allocations: 0 / 0.7175 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.6001, allocations: 116.5 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.000493/0.6006, allocations: 40.72 kB / 0.7177 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.6015, allocations: 328.3 kB / 0.718 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6019, allocations: 0.6965 MB / 0.7187 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003389/0.6022, allocations: 64.75 kB / 0.7187 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.6024, allocations: 43.39 kB / 0.7188 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of SimCode: time 5.72e-07/0.6025, allocations: 0 / 0.7188 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.6319, allocations: 7.647 MB / 0.7262 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.596, allocations: 4 kB / 0.7262 GB, free: 2.301 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.584071199409664] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'eta', 'lambda', 'eta_der', 'lambda_der', 'eta2', 'lambda2', 'eta2_der', 'lambda2_der'] 8.669953054282814 8.695066529 8.112503774 Calling exit ...