Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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.00127/0.00127, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001518/0.001518, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.078/1.078, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003859, allocations: 12 kB / 0.5159 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 83.41 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4893/0.68, allocations: 143 MB / 0.737 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007328/0.6874, allocations: 4.13 MB / 0.7411 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009177/0.6883, allocations: 15.88 kB / 0.7411 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.6894, allocations: 312.9 kB / 0.7414 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.6928, allocations: 1.005 MB / 0.7424 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.6954, allocations: 0.7749 MB / 0.7431 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.6972, allocations: 0.7694 MB / 0.7439 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.6979, allocations: 360.4 kB / 0.7442 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.6991, allocations: 0.5139 MB / 0.7447 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.6997, allocations: 297.5 kB / 0.745 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.6998, allocations: 24 kB / 0.745 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.7014, allocations: 0.6337 MB / 0.7457 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.7017, allocations: 161 kB / 0.7458 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.7018, allocations: 145.4 kB / 0.7459 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.703, allocations: 0.8192 MB / 0.7467 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.703, allocations: 0 / 0.7467 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.703, allocations: 0 / 0.7467 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.703, allocations: 0 / 0.7467 GB, free: 2.93 MB / 0.5606 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.001681/0.7047, allocations: 0.8414 MB / 0.7476 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.7047, allocations: 16.03 kB / 0.7476 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.7049, allocations: 85.23 kB / 0.7477 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.7066, allocations: 289.7 kB / 0.7479 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/0.7075, allocations: 475.5 kB / 0.7484 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/0.7078, allocations: 102.1 kB / 0.7485 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.7079, allocations: 40.75 kB / 0.7485 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.7092, allocations: 0.6316 MB / 0.7491 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7092, allocations: 0 / 0.7491 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.7093, allocations: 24 kB / 0.7492 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.7093, allocations: 20.98 kB / 0.7492 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.7108, allocations: 0.5854 MB / 0.7498 GB, free: 15.95 MB / 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.004527/0.7154, allocations: 2.293 MB / 0.752 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.7165, allocations: 314.3 kB / 0.7523 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.7165, allocations: 4 kB / 0.7523 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.7166, allocations: 39.12 kB / 0.7523 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 5.42e-06/0.7166, allocations: 224 / 0.7523 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005735/0.7223, allocations: 1.185 MB / 0.7535 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.7224, allocations: 85 kB / 0.7536 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.7233, allocations: 0.5495 MB / 0.7541 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.7233, allocations: 29.7 kB / 0.7541 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/0.7238, allocations: 299.5 kB / 0.7544 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.7239, allocations: 47.39 kB / 0.7545 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.7239, allocations: 4 kB / 0.7545 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00029/0.7242, allocations: 354.8 kB / 0.7548 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006992/0.7249, allocations: 213.3 kB / 0.755 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.7257, allocations: 278.3 kB / 0.7553 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/0.7264, allocations: 223.8 kB / 0.7555 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.7264, allocations: 7.938 kB / 0.7555 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002854/0.7292, allocations: 0.7754 MB / 0.7563 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7293, allocations: 8.625 kB / 0.7563 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7293, allocations: 0 / 0.7563 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/0.73, allocations: 197.3 kB / 0.7565 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.7304, allocations: 75.88 kB / 0.7565 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004869/0.7353, allocations: 2.244 MB / 0.7587 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.7361, allocations: 98.5 kB / 0.7588 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.7361, allocations: 12 kB / 0.7588 GB, free: 6.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003486/0.7365, allocations: 197.6 kB / 0.759 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.7366, allocations: 47.44 kB / 0.7591 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.7367, allocations: 56.03 kB / 0.7591 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7367, allocations: 0 / 0.7591 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.7367, allocations: 0 / 0.7591 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.7367, allocations: 0 / 0.7591 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.7402, allocations: 1.187 MB / 0.7603 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7402, allocations: 0 / 0.7603 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.7405, allocations: 51.95 kB / 0.7603 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000651/0.7411, allocations: 196.6 kB / 0.7605 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.7412, allocations: 0 / 0.7605 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/0.745, allocations: 2.112 MB / 0.7626 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.745, allocations: 0 / 0.7626 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.7477, allocations: 0.7777 MB / 0.7633 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.7481, allocations: 160.5 kB / 0.7635 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.7482, allocations: 15.94 kB / 0.7635 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/0.7488, allocations: 61.88 kB / 0.7636 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.7488, allocations: 15.98 kB / 0.7636 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.7489, allocations: 11.98 kB / 0.7636 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004816/0.7494, allocations: 394.8 kB / 0.764 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7494, allocations: 0 / 0.764 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007233/0.7501, allocations: 183.7 kB / 0.7641 GB, free: 0.5625 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003435/0.7536, allocations: 1.53 MB / 0.7656 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.7559, allocations: 0.6403 MB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7559, allocations: 480 / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.7567, allocations: 334.5 kB / 0.7666 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.7583, allocations: 290.6 kB / 0.7669 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.7685, allocations: 4.892 MB / 0.7716 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.769, allocations: 0.8738 MB / 0.7725 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005755/0.7696, allocations: 105.2 kB / 0.7726 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.7698, allocations: 159.4 kB / 0.7727 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.7698, allocations: 0 / 0.7727 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.8041, allocations: 16.01 MB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.8044, allocations: 279.7 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.84, allocations: 4.062 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: