Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001154/0.001154, allocations: 105 kB / 19.74 MB, free: 2.453 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.001244/0.001244, allocations: 216.8 kB / 22.92 MB, free: 5.195 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.303/1.303, allocations: 230.2 MB / 256.2 MB, free: 8.578 MB / 206.1 MB " [Timeout remaining time 179] 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.21/0.21, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.002205/0.002205, allocations: 79.88 kB / 0.494 GB, free: 9.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2628, allocations: 65.99 MB / 0.5585 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01249/0.2753, allocations: 11.37 MB / 0.5696 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2878, allocations: 11.85 MB / 0.5811 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.288, allocations: 4 kB / 0.5811 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.2882, allocations: 71.5 kB / 0.5812 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007843/0.2961, allocations: 3.115 MB / 0.5843 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.2964, allocations: 158.3 kB / 0.5844 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005329/0.3018, allocations: 3.951 MB / 0.5883 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.3018, allocations: 16.38 kB / 0.5883 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.3021, allocations: 139.5 kB / 0.5884 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009234/0.3113, allocations: 7.227 MB / 0.5955 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.3113, allocations: 8 kB / 0.5955 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.3158, allocations: 2.166 MB / 0.5976 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.789e-05/0.3159, allocations: 39.77 kB / 0.5976 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.3161, allocations: 127.5 kB / 0.5978 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.3195, allocations: 1.551 MB / 0.5993 GB, free: 11.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3195, allocations: 0 / 0.5993 GB, free: 11.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3195, allocations: 0 / 0.5993 GB, free: 11.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3195, allocations: 0 / 0.5993 GB, free: 11.29 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002236/0.3217, allocations: 0.9514 MB / 0.6002 GB, free: 10.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3218, allocations: 8.031 kB / 0.6002 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.3219, allocations: 66.72 kB / 0.6003 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005741/0.3224, allocations: 76.73 kB / 0.6003 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3228, allocations: 244 kB / 0.6006 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.3228, allocations: 24.94 kB / 0.6006 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.3228, allocations: 24.38 kB / 0.6006 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.3238, allocations: 481.4 kB / 0.6011 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3238, allocations: 0 / 0.6011 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.3238, allocations: 20 kB / 0.6011 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3239, allocations: 8 kB / 0.6011 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.3249, allocations: 0.6851 MB / 0.6018 GB, free: 8.594 MB / 446.1 MB 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.006937/0.3319, allocations: 4.292 MB / 0.606 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.3324, allocations: 171 kB / 0.6061 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.3325, allocations: 57.53 kB / 0.6062 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02713/0.3596, allocations: 16.41 MB / 0.6222 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006691/0.3603, allocations: 318 kB / 0.6225 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.3603, allocations: 0 / 0.6225 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00139/0.3617, allocations: 450.5 kB / 0.6229 GB, free: 240 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.3619, allocations: 478.6 kB / 0.6234 GB, free: 15.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3621, allocations: 190 kB / 0.6236 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3621, allocations: 33.7 kB / 0.6236 GB, free: 15.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3622, allocations: 192.4 kB / 0.6238 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.3623, allocations: 99.16 kB / 0.6239 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3624, allocations: 90.08 kB / 0.624 GB, free: 15.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3625, allocations: 330.8 kB / 0.6243 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3626, allocations: 64.83 kB / 0.6244 GB, free: 14.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.363, allocations: 306.8 kB / 0.6246 GB, free: 14.22 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.3634, allocations: 428.9 kB / 0.6251 GB, free: 13.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3635, allocations: 0 / 0.6251 GB, free: 13.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006482/0.3641, allocations: 397.7 kB / 0.6254 GB, free: 13.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3641, allocations: 8 kB / 0.6254 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3641, allocations: 8 kB / 0.6255 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3641, allocations: 20 kB / 0.6255 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.3644, allocations: 107.8 kB / 0.6256 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.3645, allocations: 23.91 kB / 0.6256 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.3647, allocations: 55.61 kB / 0.6256 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.3648, allocations: 28 kB / 0.6257 GB, free: 13.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001465/0.3649, allocations: 157.6 kB / 0.6258 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.365, allocations: 27.86 kB / 0.6259 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009972/0.366, allocations: 0.7897 MB / 0.6266 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.366, allocations: 4 kB / 0.6266 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.366, allocations: 4 kB / 0.6266 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.366, allocations: 7.922 kB / 0.6266 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3672, allocations: 1.216 MB / 0.6278 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3672, allocations: 0 / 0.6278 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3673, allocations: 35.97 kB / 0.6279 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.3673, allocations: 7.938 kB / 0.6279 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3673, allocations: 4 kB / 0.6279 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3673, allocations: 8.031 kB / 0.6279 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3674, allocations: 7.938 kB / 0.6279 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.3678, allocations: 376.8 kB / 0.6282 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.3679, allocations: 108.8 kB / 0.6283 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.3679, allocations: 55.53 kB / 0.6284 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3682, allocations: 8 kB / 0.6284 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.3682, allocations: 23.91 kB / 0.6284 GB, free: 9.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3682, allocations: 8 kB / 0.6284 GB, free: 9.949 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.3685, allocations: 294.9 kB / 0.6287 GB, free: 9.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3685, allocations: 0 / 0.6287 GB, free: 9.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001172/0.3697, allocations: 430.6 kB / 0.6291 GB, free: 9.238 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00195/0.3717, allocations: 1.445 MB / 0.6305 GB, free: 7.734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.372, allocations: 229.5 kB / 0.6308 GB, free: 7.512 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3721, allocations: 8.062 kB / 0.6308 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3722, allocations: 67.86 kB / 0.6308 GB, free: 7.438 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.3729, allocations: 106.6 kB / 0.6309 GB, free: 7.336 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.252/1.625, allocations: 0.5821 GB / 1.213 GB, free: 226.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/1.625, allocations: 0.8067 MB / 1.214 GB, free: 225.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002985/1.625, allocations: 169.6 kB / 1.214 GB, free: 225.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.625, allocations: 147.4 kB / 1.214 GB, free: 225.3 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/1.625, allocations: 3.828 kB / 1.214 GB, free: 225.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/1.66, allocations: 18.43 MB / 1.232 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.903, allocations: 3.094 kB / 1.232 GB, free: 207.2 MB / 0.6231 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.459395996993408]