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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, 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.001965/0.001965, 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 2.508/2.508, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.698/4.698, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00076/0.0007605, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642/1.643, allocations: 146.8 MB / 0.9808 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.3568/2, allocations: 159.8 MB / 1.137 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01243/2.012, allocations: 4.073 MB / 1.141 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/2.014, allocations: 11.94 kB / 1.141 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/2.017, allocations: 422 kB / 1.141 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008264/2.025, allocations: 1.475 MB / 1.143 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/2.028, allocations: 0.6371 MB / 1.143 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003285/2.031, allocations: 0.9949 MB / 1.144 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/2.033, allocations: 0.823 MB / 1.145 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/2.037, allocations: 0.9622 MB / 1.146 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/2.038, allocations: 0.6543 MB / 1.147 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/2.039, allocations: 75.94 kB / 1.147 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/2.041, allocations: 0.6709 MB / 1.147 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003839/2.042, allocations: 311.1 kB / 1.148 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004064/2.042, allocations: 181.3 kB / 1.148 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/2.044, allocations: 1.029 MB / 1.149 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/2.044, allocations: 0 / 1.149 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.328e-06/2.044, allocations: 0 / 1.149 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.65e-05/2.044, allocations: 0 / 1.149 GB, free: 9.719 MB / 0.9044 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.003542/2.048, allocations: 1.18 MB / 1.15 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/2.048, allocations: 12.03 kB / 1.15 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/2.048, allocations: 90.52 kB / 1.15 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/2.05, allocations: 246.7 kB / 1.15 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/2.051, allocations: 0.557 MB / 1.151 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/2.051, allocations: 37 kB / 1.151 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/2.051, allocations: 55.91 kB / 1.151 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/2.053, allocations: 0.9609 MB / 1.152 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/2.053, allocations: 7.922 kB / 1.152 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/2.053, allocations: 24 kB / 1.152 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/2.053, allocations: 20 kB / 1.152 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/2.055, allocations: 0.9484 MB / 1.153 GB, free: 5.414 MB / 0.9044 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.008244/2.063, allocations: 4.188 MB / 1.157 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/2.064, allocations: 0.6147 MB / 1.158 GB, free: 440 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/2.066, allocations: 0.716 MB / 1.158 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/2.066, allocations: 43 kB / 1.158 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002278/2.068, allocations: 351.2 kB / 1.159 GB, free: 15.17 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 7.975e-06/2.068, allocations: 0 / 1.159 GB, free: 15.17 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.02461/2.093, allocations: 3.678 MB / 1.162 GB, free: 11.44 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/2.093, allocations: 59.84 kB / 1.162 GB, free: 11.37 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/2.095, allocations: 0.7039 MB / 1.163 GB, free: 10.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003543/2.095, allocations: 37.64 kB / 1.163 GB, free: 10.62 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/2.096, allocations: 320.6 kB / 1.163 GB, free: 10.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/2.096, allocations: 177.4 kB / 1.164 GB, free: 10.12 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/2.096, allocations: 12 kB / 1.164 GB, free: 10.11 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002331/2.097, allocations: 329.9 kB / 1.164 GB, free: 9.781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/2.098, allocations: 400.9 kB / 1.164 GB, free: 9.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/2.099, allocations: 485.5 kB / 1.165 GB, free: 8.887 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/2.101, allocations: 448.6 kB / 1.165 GB, free: 8.453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/2.101, allocations: 7.984 kB / 1.165 GB, free: 8.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01943/2.12, allocations: 2.478 MB / 1.168 GB, free: 5.949 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/2.12, allocations: 8 kB / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/2.12, allocations: 0 / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/2.136, allocations: 1.539 MB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/2.137, allocations: 95.86 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/2.153, allocations: 6.703 MB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/2.155, allocations: 28.03 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/2.155, allocations: 47.92 kB / 1.176 GB, free: 13.24 MB / 0.9356 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 () * Number of clocked 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.0006411/2.155, allocations: 209.7 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/2.156, allocations: 82.97 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007292/2.163, allocations: 1.675 MB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/2.163, allocations: 8 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/2.163, allocations: 4 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/2.163, allocations: 7.984 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/2.174, allocations: 2.477 MB / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/2.174, allocations: 0 / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/2.175, allocations: 87.89 kB / 1.18 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005785/2.181, allocations: 0.6694 MB / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/2.181, allocations: 16 kB / 1.181 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/2.193, allocations: 4.509 MB / 1.185 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/2.193, allocations: 0 / 1.185 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009921/2.203, allocations: 2.153 MB / 1.187 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/2.204, allocations: 239.9 kB / 1.188 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/2.205, allocations: 23.92 kB / 1.188 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/2.206, allocations: 27.98 kB / 1.188 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/2.206, allocations: 44.5 kB / 1.188 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/2.206, allocations: 27.98 kB / 1.188 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001338/2.208, allocations: 0.4912 MB / 1.188 GB, free: 28 kB / 0.9356 GB Notification: Performance of sort global known variables: time 3.91e-07/2.208, allocations: 3.938 kB / 1.188 GB, free: 24 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002033/2.21, allocations: 291.8 kB / 1.189 GB, free: 15.74 MB / 0.9512 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 () * Number of clocked 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.00866/2.218, allocations: 3.227 MB / 1.192 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005013/2.223, allocations: 1.39 MB / 1.193 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.224, allocations: 0 / 1.193 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003421/2.227, allocations: 0.8797 MB / 1.194 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/2.231, allocations: 440.5 kB / 1.194 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03793/2.269, allocations: 8.168 MB / 1.202 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/2.271, allocations: 1.002 MB / 1.203 GB, free: 384 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001542/2.272, allocations: 158.6 kB / 1.203 GB, free: 220 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008008/2.273, allocations: 283.3 kB / 1.204 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of SimCode: time 1.694e-06/2.273, allocations: 0 / 1.204 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09788/2.371, allocations: 28.07 MB / 1.231 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005072/2.372, allocations: 240.4 kB / 1.231 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.386/6.757, allocations: 0 / 1.231 GB, free: 4.039 MB / 0.9825 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) Environment - environmentSimulation: 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