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.001153/0.001153, allocations: 104 kB / 16.4 MB, free: 6.508 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.001184/0.001184, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 69.88 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.173, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5478/0.7208, allocations: 171 MB / 0.7985 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006009/0.7268, allocations: 4.287 MB / 0.8027 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.7279, allocations: 23.12 kB / 0.8027 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.729, allocations: 353.1 kB / 0.8031 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.7319, allocations: 0.9942 MB / 0.8041 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.734, allocations: 0.8094 MB / 0.8048 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.7358, allocations: 1.309 MB / 0.8061 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007702/0.7366, allocations: 484.6 kB / 0.8066 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.738, allocations: 0.6783 MB / 0.8072 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.7392, allocations: 451.3 kB / 0.8077 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.7394, allocations: 54.62 kB / 0.8077 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.7411, allocations: 0.9109 MB / 0.8086 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.7414, allocations: 211.6 kB / 0.8088 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.7419, allocations: 326.9 kB / 0.8091 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.7438, allocations: 1.132 MB / 0.8102 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7438, allocations: 0 / 0.8102 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7438, allocations: 2.938 kB / 0.8102 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.7439, allocations: 0 / 0.8102 GB, free: 10.17 MB / 0.5919 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.002044/0.7459, allocations: 0.9492 MB / 0.8112 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.746, allocations: 9.75 kB / 0.8112 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.7461, allocations: 88.64 kB / 0.8113 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.7477, allocations: 266.8 kB / 0.8115 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/0.7487, allocations: 0.4902 MB / 0.812 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.7488, allocations: 30 kB / 0.812 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.7488, allocations: 46.12 kB / 0.8121 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.7501, allocations: 0.6144 MB / 0.8127 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.7501, allocations: 0 / 0.8127 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.7502, allocations: 18.38 kB / 0.8127 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.7502, allocations: 26.62 kB / 0.8127 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.7515, allocations: 0.5442 MB / 0.8132 GB, free: 8.637 MB / 0.5919 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.003956/0.7555, allocations: 2.268 MB / 0.8155 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.7564, allocations: 273 kB / 0.8157 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.7569, allocations: 174.2 kB / 0.8159 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.757, allocations: 5.906 kB / 0.8159 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.757, allocations: 33.47 kB / 0.8159 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.757, allocations: 0 / 0.8159 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.00489/0.7619, allocations: 1.091 MB / 0.817 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.762, allocations: 77.11 kB / 0.8171 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.7626, allocations: 0.5519 MB / 0.8176 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.7627, allocations: 31.95 kB / 0.8176 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.7629, allocations: 303 kB / 0.8179 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.7629, allocations: 40.73 kB / 0.818 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.7631, allocations: 63.78 kB / 0.818 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7632, allocations: 355.8 kB / 0.8184 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.7638, allocations: 197.6 kB / 0.8185 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.7644, allocations: 264 kB / 0.8188 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.7656, allocations: 409.1 kB / 0.8192 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.7656, allocations: 0 / 0.8192 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002598/0.7682, allocations: 0.7327 MB / 0.8199 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.7682, allocations: 6.844 kB / 0.8199 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.7682, allocations: 6.688 kB / 0.8199 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/0.769, allocations: 185.7 kB / 0.8201 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.7694, allocations: 73.98 kB / 0.8202 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/0.7735, allocations: 2.224 MB / 0.8223 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.7742, allocations: 75.89 kB / 0.8224 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.7742, allocations: 11.98 kB / 0.8224 GB, free: 2.012 MB / 0.5919 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.0002925/0.7745, allocations: 193.5 kB / 0.8226 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.7747, allocations: 49.16 kB / 0.8227 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.7748, allocations: 53.75 kB / 0.8227 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7748, allocations: 2.5 kB / 0.8227 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.7748, allocations: 0 / 0.8227 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.7749, allocations: 3.984 kB / 0.8227 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.7779, allocations: 1.123 MB / 0.8238 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7779, allocations: 10.14 kB / 0.8238 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.7782, allocations: 34.81 kB / 0.8238 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.7787, allocations: 181.8 kB / 0.824 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.7787, allocations: 6.812 kB / 0.824 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/0.7822, allocations: 2.191 MB / 0.8262 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7823, allocations: 3.984 kB / 0.8262 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.7847, allocations: 0.6963 MB / 0.8269 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.785, allocations: 166.9 kB / 0.827 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.7852, allocations: 10.69 kB / 0.827 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.7857, allocations: 53 kB / 0.8271 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.7858, allocations: 12.86 kB / 0.8271 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.7859, allocations: 15.67 kB / 0.8271 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004728/0.7864, allocations: 396.6 kB / 0.8275 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7864, allocations: 3.938 kB / 0.8275 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000673/0.787, allocations: 183.9 kB / 0.8277 GB, free: 14.11 MB / 0.6075 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.003008/0.7901, allocations: 1.314 MB / 0.8289 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.7916, allocations: 0.5196 MB / 0.8294 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7916, allocations: 2.281 kB / 0.8294 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.7924, allocations: 299.3 kB / 0.8297 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.7939, allocations: 307.7 kB / 0.83 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.805, allocations: 5.068 MB / 0.835 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.8055, allocations: 0.8619 MB / 0.8358 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004669/0.806, allocations: 110.5 kB / 0.8359 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.8062, allocations: 166.4 kB / 0.8361 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.8062, allocations: 0 / 0.8361 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.8534, allocations: 17.17 MB / 0.8529 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.37, allocations: 13.14 kB / 0.8529 GB, free: 8.25 MB / 0.6231 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)