Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_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.001113/0.001113, allocations: 100.2 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.001375/0.001376, allocations: 177.3 kB / 15.94 MB, free: 228 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.521/1.521, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 409.2 MB / 0.6838 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5551, allocations: 146.8 MB / 0.9809 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1347/0.6899, allocations: 143 MB / 1.121 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.6953, allocations: 4.122 MB / 1.125 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.6957, allocations: 15.88 kB / 1.125 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007595/0.6964, allocations: 314.6 kB / 1.125 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.6985, allocations: 1.009 MB / 1.126 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.7002, allocations: 0.7771 MB / 1.127 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000961/0.7012, allocations: 0.7617 MB / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.7017, allocations: 364.3 kB / 1.128 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.7025, allocations: 0.5101 MB / 1.128 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.7028, allocations: 294.9 kB / 1.129 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.7029, allocations: 20 kB / 1.129 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.7039, allocations: 0.6396 MB / 1.129 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.7041, allocations: 163.5 kB / 1.129 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.7042, allocations: 145.4 kB / 1.129 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.705, allocations: 0.7948 MB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.705, allocations: 0 / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.705, allocations: 4 kB / 1.13 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.705, allocations: 0 / 1.13 GB, free: 13.06 MB / 0.8887 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.001304/0.7063, allocations: 0.8339 MB / 1.131 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.7064, allocations: 11.97 kB / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.15e-05/0.7065, allocations: 90.53 kB / 1.131 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.708, allocations: 287 kB / 1.131 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.7088, allocations: 469.8 kB / 1.132 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.7091, allocations: 100.9 kB / 1.132 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.7092, allocations: 43.98 kB / 1.132 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.7104, allocations: 0.6301 MB / 1.133 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.7104, allocations: 4 kB / 1.133 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.7104, allocations: 24 kB / 1.133 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.7105, allocations: 17 kB / 1.133 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.7119, allocations: 0.5855 MB / 1.133 GB, free: 9.863 MB / 0.8887 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.003715/0.7156, allocations: 2.303 MB / 1.135 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.7165, allocations: 310.3 kB / 1.136 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.7166, allocations: 3.984 kB / 1.136 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7166, allocations: 42.5 kB / 1.136 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.7166, allocations: 0 / 1.136 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.004975/0.7216, allocations: 1.185 MB / 1.137 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.7217, allocations: 77.11 kB / 1.137 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.7222, allocations: 0.5456 MB / 1.138 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.7223, allocations: 33.92 kB / 1.138 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.7225, allocations: 299.5 kB / 1.138 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.7225, allocations: 51.33 kB / 1.138 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.7226, allocations: 4 kB / 1.138 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7227, allocations: 354.8 kB / 1.138 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/0.7233, allocations: 207.8 kB / 1.138 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.724, allocations: 289.3 kB / 1.139 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.7246, allocations: 219.8 kB / 1.139 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7246, allocations: 0 / 1.139 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002554/0.7272, allocations: 0.7836 MB / 1.14 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7272, allocations: 9.562 kB / 1.14 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7272, allocations: 0 / 1.14 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.7278, allocations: 192.8 kB / 1.14 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.7282, allocations: 75.89 kB / 1.14 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/0.7323, allocations: 2.25 MB / 1.142 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.7329, allocations: 87.48 kB / 1.142 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.7329, allocations: 11.98 kB / 1.142 GB, free: 176 kB / 0.8887 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.0002394/0.7331, allocations: 193.7 kB / 1.142 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.7332, allocations: 47.44 kB / 1.143 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.246e-05/0.7333, allocations: 56.03 kB / 1.143 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7333, allocations: 7.953 kB / 1.143 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.7334, allocations: 0 / 1.143 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.7334, allocations: 0 / 1.143 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.7363, allocations: 1.191 MB / 1.144 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7363, allocations: 0 / 1.144 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.7366, allocations: 51.95 kB / 1.144 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/0.7371, allocations: 188.7 kB / 1.144 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.7371, allocations: 4 kB / 1.144 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.7404, allocations: 2.113 MB / 1.146 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7404, allocations: 8.016 kB / 1.146 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.7429, allocations: 0.7699 MB / 1.147 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.7431, allocations: 168.4 kB / 1.147 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.7432, allocations: 8 kB / 1.147 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.7438, allocations: 60.48 kB / 1.147 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.7438, allocations: 19.91 kB / 1.147 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.7439, allocations: 15.98 kB / 1.147 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004358/0.7443, allocations: 386.8 kB / 1.147 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7443, allocations: 0 / 1.147 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006068/0.745, allocations: 187.7 kB / 1.148 GB, free: 10.45 MB / 0.9044 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.003036/0.748, allocations: 1.528 MB / 1.149 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002263/0.7503, allocations: 0.6428 MB / 1.15 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7503, allocations: 96 / 1.15 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.7511, allocations: 322.9 kB / 1.15 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.7526, allocations: 290.1 kB / 1.15 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00892/0.7615, allocations: 4.898 MB / 1.155 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.762, allocations: 0.8776 MB / 1.156 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004683/0.7625, allocations: 104.5 kB / 1.156 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.7627, allocations: 163.4 kB / 1.156 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of SimCode: time 8.11e-07/0.7627, allocations: 0 / 1.156 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.053/1.815, allocations: 15.96 MB / 1.172 GB, free: 1.875 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/1.816, allocations: 279.8 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/4.169, allocations: 4 kB / 1.172 GB, free: 1.512 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat