Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2231/0.2231, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB 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.002716/0.002716, allocations: 80.14 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3231, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.00781/0.331, allocations: 5.307 MB / 0.5358 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.3343, allocations: 2.649 MB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.3344, allocations: 1 kB / 0.5384 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.3347, allocations: 43.38 kB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.3377, allocations: 1.06 MB / 0.5395 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.3381, allocations: 148.6 kB / 0.5396 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.3387, allocations: 306.4 kB / 0.5399 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.3388, allocations: 20.69 kB / 0.5399 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.34, allocations: 0.6445 MB / 0.5406 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.3404, allocations: 152.2 kB / 0.5407 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.3404, allocations: 14.81 kB / 0.5407 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.3428, allocations: 1.219 MB / 0.5419 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.3429, allocations: 32.64 kB / 0.5419 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.343, allocations: 84.91 kB / 0.542 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.344, allocations: 0.5224 MB / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3441, allocations: 1.094 kB / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3441, allocations: 0 / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3441, allocations: 0 / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001128/0.3452, allocations: 0.5754 MB / 0.5431 GB, free: 4.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3453, allocations: 9.094 kB / 0.5431 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.45e-05/0.3453, allocations: 52.89 kB / 0.5432 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.3458, allocations: 46.75 kB / 0.5432 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3462, allocations: 217.2 kB / 0.5434 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3462, allocations: 15.78 kB / 0.5434 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.3462, allocations: 14.66 kB / 0.5434 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.3467, allocations: 246.8 kB / 0.5437 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3467, allocations: 1.062 kB / 0.5437 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.3467, allocations: 6.281 kB / 0.5437 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3468, allocations: 4.344 kB / 0.5437 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.3471, allocations: 240.6 kB / 0.5439 GB, free: 3.504 MB / 398.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.001378/0.3485, allocations: 1.366 MB / 0.5452 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3488, allocations: 85.58 kB / 0.5453 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.333e-05/0.3488, allocations: 46.53 kB / 0.5454 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/0.3506, allocations: 2.046 MB / 0.5474 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.3508, allocations: 167.4 kB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.3508, allocations: 3.938 kB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009551/0.3518, allocations: 365.5 kB / 0.5479 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.352, allocations: 261.3 kB / 0.5481 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3521, allocations: 153.9 kB / 0.5483 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.3522, allocations: 33.7 kB / 0.5483 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.3523, allocations: 156 kB / 0.5485 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.3523, allocations: 63.44 kB / 0.5485 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.3524, allocations: 73.83 kB / 0.5486 GB, free: 14.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3526, allocations: 326.8 kB / 0.5489 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3527, allocations: 39.97 kB / 0.5489 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3529, allocations: 187.4 kB / 0.5491 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.3532, allocations: 266.5 kB / 0.5494 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3532, allocations: 0 / 0.5494 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004553/0.3537, allocations: 261.4 kB / 0.5496 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3537, allocations: 8 kB / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3538, allocations: 4 kB / 0.5496 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3538, allocations: 8 kB / 0.5496 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.3543, allocations: 95.88 kB / 0.5497 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003937/0.3547, allocations: 0.6018 MB / 0.5503 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3548, allocations: 16 kB / 0.5503 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.3549, allocations: 16 kB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.355, allocations: 141.6 kB / 0.5505 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.3551, allocations: 19.91 kB / 0.5505 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.3555, allocations: 232.5 kB / 0.5507 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.3555, allocations: 7.984 kB / 0.5507 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3556, allocations: 3.938 kB / 0.5507 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3556, allocations: 0 / 0.5507 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3561, allocations: 448.8 kB / 0.5512 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3561, allocations: 0 / 0.5512 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.3564, allocations: 51.95 kB / 0.5512 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3564, allocations: 4.031 kB / 0.5512 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3565, allocations: 16 kB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003433/0.3568, allocations: 0.586 MB / 0.5518 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3568, allocations: 0 / 0.5518 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.357, allocations: 150.7 kB / 0.5519 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.3571, allocations: 93.05 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3572, allocations: 11.94 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.3573, allocations: 4 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.3574, allocations: 11.98 kB / 0.5521 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3574, allocations: 4 kB / 0.5521 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.3575, allocations: 131.2 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3575, allocations: 0 / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005393/0.358, allocations: 143.6 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009883/0.359, allocations: 0.8452 MB / 0.5532 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.3595, allocations: 163.7 kB / 0.5533 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3595, allocations: 0 / 0.5533 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3597, allocations: 53.22 kB / 0.5534 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3601, allocations: 48.08 kB / 0.5534 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.3634, allocations: 2.527 MB / 0.5559 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3638, allocations: 0.7168 MB / 0.5566 GB, free: 5.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.364, allocations: 77.83 kB / 0.5566 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3641, allocations: 63.39 kB / 0.5567 GB, free: 5.551 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3641, allocations: 0 / 0.5567 GB, free: 5.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.3968, allocations: 6.592 MB / 0.5631 GB, free: 15.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.08, allocations: 16.34 kB / 0.5632 GB, free: 15.15 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1)