Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.325/2.325, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 180.6 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 97.5 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.271e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2895, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.195/5.485, allocations: 1.912 GB / 3.124 GB, free: 348 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/5.485, allocations: 86.02 kB / 3.124 GB, free: 348 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.966/7.451, allocations: 0.6733 GB / 3.797 GB, free: 123.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.162e-06/7.451, allocations: 4 kB / 3.797 GB, free: 123.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.568e-05/7.451, allocations: 23.98 kB / 3.797 GB, free: 123.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002921/7.454, allocations: 1.06 MB / 3.798 GB, free: 122.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/7.454, allocations: 15.97 kB / 3.798 GB, free: 122.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/7.456, allocations: 234.8 kB / 3.799 GB, free: 122 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/7.457, allocations: 0.5973 MB / 3.799 GB, free: 121.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/7.457, allocations: 16 kB / 3.799 GB, free: 121.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/7.457, allocations: 39.91 kB / 3.799 GB, free: 121.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001192/7.458, allocations: 0.8733 MB / 3.8 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/7.459, allocations: 0.9173 MB / 3.801 GB, free: 119.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/7.46, allocations: 3.938 kB / 3.801 GB, free: 119.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/7.46, allocations: 4 kB / 3.801 GB, free: 119.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/7.46, allocations: 15.98 kB / 3.801 GB, free: 119.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004594/7.464, allocations: 4.309 MB / 3.805 GB, free: 114.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/7.465, allocations: 0.5512 MB / 3.806 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/7.465, allocations: 0.4941 MB / 3.806 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007835/7.466, allocations: 0.8744 MB / 3.807 GB, free: 112.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/7.466, allocations: 39 kB / 3.807 GB, free: 112.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002171/7.468, allocations: 0.5422 MB / 3.808 GB, free: 112.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 5.44e-06/7.468, allocations: 11.88 kB / 3.808 GB, free: 112.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.01073/7.479, allocations: 2.357 MB / 3.81 GB, free: 109.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/7.479, allocations: 59.83 kB / 3.81 GB, free: 109.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/7.48, allocations: 459.4 kB / 3.81 GB, free: 109.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/7.48, allocations: 29.7 kB / 3.811 GB, free: 109.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/7.48, allocations: 324.6 kB / 3.811 GB, free: 109 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/7.481, allocations: 169.5 kB / 3.811 GB, free: 108.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/7.481, allocations: 0 / 3.811 GB, free: 108.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/7.481, allocations: 370.8 kB / 3.811 GB, free: 108.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/7.481, allocations: 365 kB / 3.812 GB, free: 108.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/7.482, allocations: 458.2 kB / 3.812 GB, free: 107.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/7.482, allocations: 432.5 kB / 3.813 GB, free: 107.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/7.482, allocations: 4 kB / 3.813 GB, free: 107.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01048/7.493, allocations: 2.392 MB / 3.815 GB, free: 104.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/7.493, allocations: 4 kB / 3.815 GB, free: 104.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/7.493, allocations: 8.125 kB / 3.815 GB, free: 104.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008758/7.502, allocations: 1.531 MB / 3.816 GB, free: 103.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/7.502, allocations: 95.86 kB / 3.816 GB, free: 103.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009651/7.512, allocations: 6.265 MB / 3.823 GB, free: 96.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009117/7.513, allocations: 27.94 kB / 3.823 GB, free: 96.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/7.513, allocations: 47.92 kB / 3.823 GB, free: 96.52 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002084/7.513, allocations: 112.9 kB / 3.823 GB, free: 96.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01041/7.524, allocations: 2.349 MB / 3.825 GB, free: 94.04 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/7.524, allocations: 67.16 kB / 3.825 GB, free: 93.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/7.529, allocations: 1.564 MB / 3.827 GB, free: 92.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/7.529, allocations: 4 kB / 3.827 GB, free: 92.38 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/7.529, allocations: 4 kB / 3.827 GB, free: 92.38 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/7.529, allocations: 3.984 kB / 3.827 GB, free: 92.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/7.534, allocations: 2.326 MB / 3.829 GB, free: 89.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/7.534, allocations: 0 / 3.829 GB, free: 89.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/7.534, allocations: 95.88 kB / 3.829 GB, free: 89.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/7.537, allocations: 0.6537 MB / 3.83 GB, free: 89.23 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/7.537, allocations: 12 kB / 3.83 GB, free: 89.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004901/7.542, allocations: 4.316 MB / 3.834 GB, free: 84.66 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/7.542, allocations: 0 / 3.834 GB, free: 84.66 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/7.546, allocations: 2.036 MB / 3.836 GB, free: 82.55 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/7.547, allocations: 216.1 kB / 3.836 GB, free: 82.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/7.547, allocations: 4 kB / 3.836 GB, free: 82.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/7.548, allocations: 31.88 kB / 3.836 GB, free: 82.28 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/7.548, allocations: 44.5 kB / 3.836 GB, free: 82.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/7.548, allocations: 23.98 kB / 3.836 GB, free: 82.21 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004078/7.548, allocations: 359.2 kB / 3.837 GB, free: 81.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/7.548, allocations: 3.938 kB / 3.837 GB, free: 81.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001512/7.55, allocations: 407.6 kB / 3.837 GB, free: 81.47 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006977/7.557, allocations: 4.815 MB / 3.842 GB, free: 76.51 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00267/7.559, allocations: 1.258 MB / 3.843 GB, free: 75.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/7.56, allocations: 7.938 kB / 3.843 GB, free: 75.23 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/7.561, allocations: 0.8142 MB / 3.844 GB, free: 74.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/7.563, allocations: 308.2 kB / 3.844 GB, free: 74.09 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/7.566, allocations: 1.45 MB / 3.845 GB, free: 72.57 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/7.566, allocations: 1.005 MB / 3.846 GB, free: 71.54 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006732/7.567, allocations: 133.3 kB / 3.846 GB, free: 71.41 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/7.567, allocations: 271.3 kB / 3.847 GB, free: 71.14 MB / 1.151 GB Notification: Performance of SimCode: time 8.61e-07/7.567, allocations: 0 / 3.847 GB, free: 71.14 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/7.633, allocations: 36.23 MB / 3.882 GB, free: 35.08 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/7.633, allocations: 169.4 kB / 3.882 GB, free: 34.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/11.02, allocations: 0 / 3.882 GB, free: 34.89 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat