Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008164/0.008164, allocations: 100.3 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 194.5 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7881/0.7881, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.16 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1721, allocations: 80.92 MB / 0.6642 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6537/0.8259, allocations: 187.1 MB / 0.8469 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.8401, allocations: 13.01 MB / 0.8596 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.8413, allocations: 25.34 kB / 0.8596 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.8426, allocations: 417.2 kB / 0.86 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.8448, allocations: 0.9621 MB / 0.861 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.8467, allocations: 0.7184 MB / 0.8617 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.8485, allocations: 1.497 MB / 0.8631 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008184/0.8493, allocations: 0.6491 MB / 0.8638 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.8531, allocations: 1.772 MB / 0.8655 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.8544, allocations: 0.5053 MB / 0.866 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.539e-05/0.8545, allocations: 60 kB / 0.866 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.8563, allocations: 0.8731 MB / 0.8669 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.8566, allocations: 287.1 kB / 0.8672 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.857, allocations: 382 kB / 0.8675 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.8587, allocations: 1.176 MB / 0.8687 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.8587, allocations: 0 / 0.8687 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8588, allocations: 0 / 0.8687 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.8588, allocations: 0 / 0.8687 GB, free: 14.11 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001393/0.8602, allocations: 1.063 MB / 0.8697 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8602, allocations: 9.109 kB / 0.8697 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.8603, allocations: 98.52 kB / 0.8698 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/0.8613, allocations: 194.8 kB / 0.87 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.8621, allocations: 0.548 MB / 0.8705 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.8621, allocations: 49.31 kB / 0.8706 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.8622, allocations: 59.94 kB / 0.8706 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.8633, allocations: 0.7711 MB / 0.8714 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.8633, allocations: 11.94 kB / 0.8714 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.8633, allocations: 30.12 kB / 0.8714 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.8634, allocations: 21 kB / 0.8715 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008486/0.8642, allocations: 459.3 kB / 0.8719 GB, free: 10.6 MB / 0.6387 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.003632/0.8679, allocations: 4.371 MB / 0.8762 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.868, allocations: 110.4 kB / 0.8763 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.8681, allocations: 71.44 kB / 0.8763 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.8683, allocations: 93.09 kB / 0.8764 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.8683, allocations: 42.56 kB / 0.8765 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.8684, allocations: 0 / 0.8765 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0006362/0.869, allocations: 240.6 kB / 0.8767 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.8691, allocations: 136.8 kB / 0.8768 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/0.8701, allocations: 0.8446 MB / 0.8776 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8701, allocations: 25.7 kB / 0.8777 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.8704, allocations: 406.8 kB / 0.8781 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.8704, allocations: 35.53 kB / 0.8781 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.8705, allocations: 93.88 kB / 0.8782 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8707, allocations: 322 kB / 0.8785 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.8709, allocations: 112.7 kB / 0.8786 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.8713, allocations: 361.7 kB / 0.8789 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.8719, allocations: 445.5 kB / 0.8794 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8719, allocations: 4 kB / 0.8794 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008325/0.8727, allocations: 0.5013 MB / 0.8799 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.8727, allocations: 8.844 kB / 0.8799 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8728, allocations: 8 kB / 0.8799 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.8728, allocations: 8 kB / 0.8799 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.8731, allocations: 95.83 kB / 0.88 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.8731, allocations: 23.86 kB / 0.88 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.8737, allocations: 121 kB / 0.8801 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.8738, allocations: 24 kB / 0.8801 GB, free: 1.551 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002367/0.874, allocations: 229.6 kB / 0.8804 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.8741, allocations: 79 kB / 0.8804 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.689e-05/0.8742, allocations: 74.17 kB / 0.8805 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8743, allocations: 0 / 0.8805 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8743, allocations: 7.938 kB / 0.8805 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8743, allocations: 0 / 0.8805 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.8755, allocations: 1.12 MB / 0.8816 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8755, allocations: 0 / 0.8816 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.8756, allocations: 16 kB / 0.8816 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.8756, allocations: 4 kB / 0.8816 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.8756, allocations: 0 / 0.8816 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.8756, allocations: 11.92 kB / 0.8816 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8757, allocations: 4 kB / 0.8816 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.8759, allocations: 264.1 kB / 0.8819 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.8761, allocations: 168.1 kB / 0.882 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.8762, allocations: 8.547 kB / 0.8821 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.8765, allocations: 19.98 kB / 0.8821 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.8765, allocations: 11.88 kB / 0.8821 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.8765, allocations: 4 kB / 0.8821 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007108/0.8773, allocations: 0.5927 MB / 0.8827 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8773, allocations: 0 / 0.8827 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00053/0.8778, allocations: 155.8 kB / 0.8828 GB, free: 14.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0008485/0.8787, allocations: 0.9047 MB / 0.8837 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000469/0.8791, allocations: 240.9 kB / 0.8839 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8792, allocations: 0 / 0.8839 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.8792, allocations: 48.67 kB / 0.884 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.8806, allocations: 381 kB / 0.8843 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/0.8871, allocations: 5.432 MB / 0.8896 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.8876, allocations: 0.937 MB / 0.8906 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005058/0.8881, allocations: 150.1 kB / 0.8907 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.8884, allocations: 231.4 kB / 0.8909 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.8884, allocations: 0 / 0.8909 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04758/0.936, allocations: 17.97 MB / 0.9085 GB, free: 4.293 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.454, allocations: 7.188 kB / 0.9085 GB, free: 4.293 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)