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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.0069/0.0069, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.001719/0.001719, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.988/0.988, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.91 kB / 0.5953 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3695, allocations: 82.02 MB / 0.6754 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1867/0.5562, allocations: 171 MB / 0.8424 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006909/0.5632, allocations: 4.3 MB / 0.8466 GB, free: 6.207 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.5638, allocations: 19.88 kB / 0.8466 GB, free: 6.188 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.5648, allocations: 350 kB / 0.847 GB, free: 5.844 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.5673, allocations: 0.9915 MB / 0.8479 GB, free: 4.848 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.5694, allocations: 0.8137 MB / 0.8487 GB, free: 4.039 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.5709, allocations: 1.294 MB / 0.85 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006394/0.5716, allocations: 495.2 kB / 0.8505 GB, free: 2.254 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5727, allocations: 0.6616 MB / 0.8511 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.5738, allocations: 463.5 kB / 0.8516 GB, free: 1.141 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.474e-05/0.5739, allocations: 52 kB / 0.8516 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5754, allocations: 0.9082 MB / 0.8525 GB, free: 184 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.5756, allocations: 215.5 kB / 0.8527 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.576, allocations: 334.4 kB / 0.853 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.5776, allocations: 1.158 MB / 0.8542 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5776, allocations: 3.938 kB / 0.8542 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5776, allocations: 4 kB / 0.8542 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.5776, allocations: 0 / 0.8542 GB, free: 14.47 MB / 0.6856 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.001702/0.5793, allocations: 0.9663 MB / 0.8551 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5794, allocations: 19.97 kB / 0.8551 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.5795, allocations: 86.52 kB / 0.8552 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.5811, allocations: 259.3 kB / 0.8555 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.582, allocations: 0.5017 MB / 0.8559 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.582, allocations: 29 kB / 0.856 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.5821, allocations: 40 kB / 0.856 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.5834, allocations: 0.6185 MB / 0.8566 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5834, allocations: 0 / 0.8566 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.5835, allocations: 20 kB / 0.8566 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.5835, allocations: 20.98 kB / 0.8567 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.5849, allocations: 0.5425 MB / 0.8572 GB, free: 11.25 MB / 0.6856 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.003986/0.5889, allocations: 2.27 MB / 0.8594 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.5899, allocations: 286.3 kB / 0.8597 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.5905, allocations: 176.6 kB / 0.8598 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.5905, allocations: 4 kB / 0.8598 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.5905, allocations: 34.56 kB / 0.8599 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.5906, allocations: 0 / 0.8599 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.005112/0.5957, allocations: 1.088 MB / 0.8609 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.5957, allocations: 77.11 kB / 0.861 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.5964, allocations: 0.5534 MB / 0.8616 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.5964, allocations: 33.7 kB / 0.8616 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.5967, allocations: 304.1 kB / 0.8619 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.5967, allocations: 47.64 kB / 0.8619 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.5969, allocations: 57.66 kB / 0.862 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.597, allocations: 358.8 kB / 0.8623 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.5977, allocations: 191.8 kB / 0.8625 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.5983, allocations: 267.2 kB / 0.8628 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5995, allocations: 407.4 kB / 0.8631 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5995, allocations: 0 / 0.8631 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002672/0.6022, allocations: 0.7319 MB / 0.8639 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6022, allocations: 4 kB / 0.8639 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6023, allocations: 4 kB / 0.8639 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.6029, allocations: 176.8 kB / 0.864 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.6033, allocations: 75.88 kB / 0.8641 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.6073, allocations: 2.233 MB / 0.8663 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.6079, allocations: 79.52 kB / 0.8664 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.6079, allocations: 19.98 kB / 0.8664 GB, free: 1.391 MB / 0.6856 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.0002591/0.6082, allocations: 185.8 kB / 0.8666 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/0.6083, allocations: 51.72 kB / 0.8666 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.769e-05/0.6084, allocations: 51.97 kB / 0.8667 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6084, allocations: 3.938 kB / 0.8667 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6084, allocations: 4 kB / 0.8667 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6084, allocations: 4 kB / 0.8667 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2845/0.8929, allocations: 1.13 MB / 0.8678 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.893, allocations: 4.438 kB / 0.8678 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.8933, allocations: 43.41 kB / 0.8678 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/0.8938, allocations: 180 kB / 0.868 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.8939, allocations: 4.562 kB / 0.868 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.8971, allocations: 2.181 MB / 0.8701 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.8971, allocations: 5.641 kB / 0.8701 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.8996, allocations: 0.6989 MB / 0.8708 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.8998, allocations: 178.5 kB / 0.871 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.8999, allocations: 4.469 kB / 0.871 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.9004, allocations: 56.11 kB / 0.871 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.9005, allocations: 9.422 kB / 0.8711 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.9006, allocations: 15.78 kB / 0.8711 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004606/0.901, allocations: 390.6 kB / 0.8714 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.901, allocations: 1.656 kB / 0.8714 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005865/0.9016, allocations: 184.3 kB / 0.8716 GB, free: 185.7 MB / 0.6856 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.002889/0.9045, allocations: 1.317 MB / 0.8729 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.9061, allocations: 0.53 MB / 0.8734 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.9061, allocations: 1.125 kB / 0.8734 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.9068, allocations: 300.7 kB / 0.8737 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.9081, allocations: 306.3 kB / 0.874 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.9188, allocations: 5.08 MB / 0.879 GB, free: 182 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.9191, allocations: 0.8618 MB / 0.8798 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000401/0.9195, allocations: 102.8 kB / 0.8799 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.9197, allocations: 164.7 kB / 0.8801 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/0.9197, allocations: 0 / 0.8801 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.649/3.569, allocations: 16.94 MB / 0.8966 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/15.68, allocations: 8.953 kB / 0.8966 GB, free: 172.2 MB / 0.6856 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/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)