Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001532/0.001532, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001741/0.001741, allocations: 191.4 kB / 17.2 MB, free: 5.574 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.74/0.74, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3035, allocations: 77.91 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1506/0.4541, allocations: 171 MB / 0.7343 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005494/0.4596, allocations: 4.278 MB / 0.7384 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.4601, allocations: 23.88 kB / 0.7385 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.4609, allocations: 346 kB / 0.7388 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.4629, allocations: 1.007 MB / 0.7398 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.4647, allocations: 0.8028 MB / 0.7405 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.4661, allocations: 1.294 MB / 0.7418 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.4666, allocations: 491.2 kB / 0.7423 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009841/0.4676, allocations: 0.6655 MB / 0.7429 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008707/0.4685, allocations: 446.3 kB / 0.7434 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.4686, allocations: 52 kB / 0.7434 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.4701, allocations: 0.9121 MB / 0.7443 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.4703, allocations: 215.4 kB / 0.7445 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.4707, allocations: 330.5 kB / 0.7448 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.472, allocations: 1.13 MB / 0.7459 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.472, allocations: 0 / 0.7459 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.472, allocations: 0 / 0.7459 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.472, allocations: 4 kB / 0.7459 GB, free: 3.27 MB / 0.5762 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.001498/0.4735, allocations: 0.9505 MB / 0.7469 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4736, allocations: 8.625 kB / 0.7469 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.603e-05/0.4737, allocations: 82.53 kB / 0.7469 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.4753, allocations: 259.1 kB / 0.7472 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007507/0.476, allocations: 493.3 kB / 0.7477 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.4764, allocations: 80.94 kB / 0.7477 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.4764, allocations: 40 kB / 0.7478 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4777, allocations: 0.6263 MB / 0.7484 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4777, allocations: 4 kB / 0.7484 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.4778, allocations: 20 kB / 0.7484 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.4778, allocations: 21 kB / 0.7484 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.4793, allocations: 0.5581 MB / 0.749 GB, free: 20 kB / 0.5762 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.2449/0.7242, allocations: 2.273 MB / 0.7512 GB, free: 172 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.7253, allocations: 290.8 kB / 0.7515 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.726, allocations: 174.3 kB / 0.7516 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.726, allocations: 2.062 kB / 0.7516 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.726, allocations: 46.12 kB / 0.7517 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.726, allocations: 0 / 0.7517 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.00571/0.7318, allocations: 1.108 MB / 0.7528 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.7318, allocations: 80.03 kB / 0.7528 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.7325, allocations: 0.55 MB / 0.7534 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.7325, allocations: 31.55 kB / 0.7534 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.7327, allocations: 301.3 kB / 0.7537 GB, free: 171 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.7328, allocations: 42.03 kB / 0.7537 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.7329, allocations: 58.61 kB / 0.7538 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.733, allocations: 357.2 kB / 0.7541 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.7337, allocations: 195.8 kB / 0.7543 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.7345, allocations: 271.7 kB / 0.7546 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.7357, allocations: 427.3 kB / 0.755 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7358, allocations: 1.312 kB / 0.755 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003062/0.7388, allocations: 0.7299 MB / 0.7557 GB, free: 170 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.7389, allocations: 6.062 kB / 0.7557 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7389, allocations: 2.562 kB / 0.7557 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007275/0.7396, allocations: 189.3 kB / 0.7559 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.7401, allocations: 70.67 kB / 0.756 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00394/0.744, allocations: 2.242 MB / 0.7581 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.7447, allocations: 82 kB / 0.7582 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.7447, allocations: 10.39 kB / 0.7582 GB, free: 168.3 MB / 0.5762 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.0002477/0.745, allocations: 192.3 kB / 0.7584 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.7451, allocations: 48.53 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.7452, allocations: 53.45 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7452, allocations: 6.219 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7452, allocations: 3.062 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.7452, allocations: 0.7969 kB / 0.7585 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.7487, allocations: 1.146 MB / 0.7596 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7487, allocations: 5.75 kB / 0.7596 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.749, allocations: 42.61 kB / 0.7597 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005778/0.7496, allocations: 185.2 kB / 0.7599 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.7496, allocations: 2.609 kB / 0.7599 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/0.7531, allocations: 2.181 MB / 0.762 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7531, allocations: 1.25 kB / 0.762 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.7558, allocations: 0.7161 MB / 0.7627 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.7561, allocations: 172.4 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.7561, allocations: 6.906 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/0.7567, allocations: 53.02 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.7568, allocations: 12.53 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.7569, allocations: 12.16 kB / 0.7629 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004437/0.7573, allocations: 395.9 kB / 0.7633 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7573, allocations: 7.938 kB / 0.7633 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006508/0.758, allocations: 178.2 kB / 0.7635 GB, free: 165.2 MB / 0.5762 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.003014/0.761, allocations: 1.327 MB / 0.7648 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.7627, allocations: 0.5411 MB / 0.7653 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7627, allocations: 1.281 kB / 0.7653 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007308/0.7634, allocations: 307.8 kB / 0.7656 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.7648, allocations: 304.7 kB / 0.7659 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7757, allocations: 5.187 MB / 0.771 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.776, allocations: 0.8558 MB / 0.7718 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004761/0.7765, allocations: 106.9 kB / 0.7719 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.7767, allocations: 163.5 kB / 0.7721 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.7767, allocations: 0 / 0.7721 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3119/1.089, allocations: 16.75 MB / 0.7884 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.53, allocations: 8.406 kB / 0.7884 GB, free: 147.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)