Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007298/0.007298, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001342/0.001342, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7804/0.7804, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.8 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1549, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.625/0.7799, allocations: 171 MB / 0.8316 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007951/0.7879, allocations: 4.285 MB / 0.8358 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.789, allocations: 23 kB / 0.8358 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.7903, allocations: 343.5 kB / 0.8361 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.7937, allocations: 0.9933 MB / 0.8371 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.7966, allocations: 0.8173 MB / 0.8379 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.7986, allocations: 1.294 MB / 0.8392 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007169/0.7993, allocations: 481.7 kB / 0.8396 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.8008, allocations: 0.6781 MB / 0.8403 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.802, allocations: 450.6 kB / 0.8407 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.8021, allocations: 53.03 kB / 0.8408 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.8041, allocations: 0.9064 MB / 0.8416 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.8044, allocations: 214 kB / 0.8419 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.8048, allocations: 326.5 kB / 0.8422 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.807, allocations: 1.144 MB / 0.8433 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.807, allocations: 8 kB / 0.8433 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.354e-06/0.807, allocations: 0 / 0.8433 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.807, allocations: 0 / 0.8433 GB, free: 4.652 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001862/0.8089, allocations: 0.9716 MB / 0.8442 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.809, allocations: 8.766 kB / 0.8442 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.8106, allocations: 267.7 kB / 0.8445 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/0.8115, allocations: 0.492 MB / 0.845 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.8116, allocations: 30.53 kB / 0.845 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.8117, allocations: 47.42 kB / 0.8451 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.813, allocations: 0.6106 MB / 0.8457 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.813, allocations: 0 / 0.8457 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.8131, allocations: 16.91 kB / 0.8457 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/0.8131, allocations: 22.83 kB / 0.8457 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.8146, allocations: 0.5523 MB / 0.8462 GB, free: 2.637 MB / 0.6075 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.004084/0.8187, allocations: 2.273 MB / 0.8485 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.8198, allocations: 283.3 kB / 0.8487 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.8203, allocations: 165.8 kB / 0.8489 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.8204, allocations: 6.422 kB / 0.8489 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.8204, allocations: 45.11 kB / 0.8489 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.024e-06/0.8204, allocations: 0 / 0.8489 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005086/0.8255, allocations: 1.085 MB / 0.85 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.8256, allocations: 87.08 kB / 0.8501 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/0.8264, allocations: 0.5521 MB / 0.8506 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.8265, allocations: 32.23 kB / 0.8506 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.8268, allocations: 304.6 kB / 0.8509 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.8269, allocations: 41.22 kB / 0.851 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.827, allocations: 56.5 kB / 0.851 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.8272, allocations: 359.2 kB / 0.8514 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.8278, allocations: 187.7 kB / 0.8515 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.8284, allocations: 273.1 kB / 0.8518 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.8296, allocations: 403.1 kB / 0.8522 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8297, allocations: 9.781 kB / 0.8522 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002701/0.8324, allocations: 0.7261 MB / 0.8529 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.8324, allocations: 7.812 kB / 0.8529 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8324, allocations: 2.094 kB / 0.8529 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/0.8331, allocations: 189.5 kB / 0.8531 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.8335, allocations: 66.28 kB / 0.8532 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004262/0.8377, allocations: 2.236 MB / 0.8553 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.8385, allocations: 79.31 kB / 0.8554 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.8386, allocations: 19.98 kB / 0.8554 GB, free: 11.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003969/0.839, allocations: 183.1 kB / 0.8556 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.8391, allocations: 59.61 kB / 0.8557 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.8392, allocations: 56.03 kB / 0.8557 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.8392, allocations: 4 kB / 0.8557 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.8392, allocations: 0 / 0.8557 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8393, allocations: 0 / 0.8557 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/0.8423, allocations: 1.133 MB / 0.8568 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8423, allocations: 0 / 0.8568 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.8426, allocations: 40.02 kB / 0.8569 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005426/0.8431, allocations: 184.7 kB / 0.857 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.8432, allocations: 3.938 kB / 0.8571 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003761/0.8469, allocations: 2.174 MB / 0.8592 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8469, allocations: 8.094 kB / 0.8592 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.8495, allocations: 0.712 MB / 0.8599 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.8498, allocations: 168.7 kB / 0.86 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.8499, allocations: 7.938 kB / 0.86 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/0.8505, allocations: 50.62 kB / 0.8601 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.8506, allocations: 19.97 kB / 0.8601 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.8507, allocations: 11.98 kB / 0.8601 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005862/0.8513, allocations: 394.8 kB / 0.8605 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8513, allocations: 0 / 0.8605 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007935/0.8521, allocations: 183.8 kB / 0.8607 GB, free: 5.699 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006323/0.8527, allocations: 177 kB / 0.8608 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.8545, allocations: 0.5296 MB / 0.8614 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.8545, allocations: 4 kB / 0.8614 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007415/0.8553, allocations: 291 kB / 0.8616 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.8567, allocations: 313.2 kB / 0.8619 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.8599, allocations: 1.075 MB / 0.863 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.8606, allocations: 0.8659 MB / 0.8638 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004128/0.861, allocations: 108.5 kB / 0.8639 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.8611, allocations: 35.44 kB / 0.864 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.8611, allocations: 0 / 0.864 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of Templates: time 0.02199/0.8831, allocations: 12.48 MB / 0.8762 GB, free: 5.898 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)