Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007975/0.0007976, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004532/0.004532, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.155/1.155, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001546/0.001546, allocations: 278.7 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 19.53/19.53, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004869, allocations: 20.47 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2248, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.835/1.06, allocations: 187.9 MB / 0.8687 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008469/1.068, allocations: 4.033 MB / 0.8726 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/1.07, allocations: 18.78 kB / 0.8726 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/1.072, allocations: 394.1 kB / 0.873 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00533/1.077, allocations: 1.442 MB / 0.8744 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004486/1.082, allocations: 1.241 MB / 0.8756 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003922/1.085, allocations: 2.355 MB / 0.8779 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/1.087, allocations: 0.863 MB / 0.8788 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/1.089, allocations: 0.8569 MB / 0.8796 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/1.091, allocations: 0.8696 MB / 0.8805 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/1.091, allocations: 71.97 kB / 0.8805 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/1.094, allocations: 1.567 MB / 0.8821 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004313/1.095, allocations: 324.3 kB / 0.8824 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007114/1.095, allocations: 0.5113 MB / 0.8829 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003171/1.099, allocations: 1.68 MB / 0.8845 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.099, allocations: 4 kB / 0.8845 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/1.099, allocations: 0 / 0.8845 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.099, allocations: 0 / 0.8845 GB, free: 3.684 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002751/1.101, allocations: 1.188 MB / 0.8857 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.102, allocations: 8.031 kB / 0.8857 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/1.102, allocations: 92.45 kB / 0.8858 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/1.103, allocations: 242.7 kB / 0.886 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/1.104, allocations: 0.5837 MB / 0.8866 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/1.104, allocations: 45 kB / 0.8866 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.104, allocations: 51.94 kB / 0.8867 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/1.106, allocations: 0.9648 MB / 0.8876 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/1.106, allocations: 4 kB / 0.8876 GB, free: 352 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/1.106, allocations: 20 kB / 0.8876 GB, free: 332 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/1.106, allocations: 27.98 kB / 0.8877 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/1.107, allocations: 0.9523 MB / 0.8886 GB, free: 15.34 MB / 0.6075 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.005325/1.113, allocations: 4.192 MB / 0.8927 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/1.114, allocations: 0.6063 MB / 0.8933 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/1.115, allocations: 0.5196 MB / 0.8938 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/1.116, allocations: 0.8939 MB / 0.8947 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.116, allocations: 39 kB / 0.8947 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001501/1.117, allocations: 355.2 kB / 0.895 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/1.117, allocations: 0 / 0.895 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01733/1.135, allocations: 3.693 MB / 0.8986 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/1.135, allocations: 55.84 kB / 0.8987 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/1.136, allocations: 0.7116 MB / 0.8994 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/1.136, allocations: 37.64 kB / 0.8994 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/1.136, allocations: 328.6 kB / 0.8997 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.136, allocations: 177.5 kB / 0.8999 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.137, allocations: 45.7 kB / 0.8999 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.137, allocations: 326 kB / 0.9003 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/1.137, allocations: 396.9 kB / 0.9006 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/1.138, allocations: 497.5 kB / 0.9011 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/1.14, allocations: 0.9297 MB / 0.902 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.14, allocations: 4 kB / 0.902 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01133/1.151, allocations: 2.486 MB / 0.9045 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.151, allocations: 4 kB / 0.9045 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.151, allocations: 4 kB / 0.9045 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009376/1.161, allocations: 1.542 MB / 0.906 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/1.161, allocations: 99.86 kB / 0.9061 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.173, allocations: 6.569 MB / 0.9125 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009737/1.174, allocations: 35.98 kB / 0.9125 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/1.174, allocations: 43.94 kB / 0.9126 GB, free: 5.969 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004625/1.175, allocations: 206.3 kB / 0.9127 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/1.175, allocations: 83.05 kB / 0.9128 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005202/1.18, allocations: 1.679 MB / 0.9145 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.18, allocations: 4 kB / 0.9145 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.18, allocations: 4 kB / 0.9145 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.18, allocations: 3.984 kB / 0.9145 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/1.186, allocations: 2.485 MB / 0.9169 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/1.186, allocations: 4.188 kB / 0.9169 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/1.187, allocations: 95.89 kB / 0.917 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/1.19, allocations: 0.6494 MB / 0.9176 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/1.19, allocations: 27.86 kB / 0.9177 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006502/1.197, allocations: 4.419 MB / 0.922 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/1.197, allocations: 7.938 kB / 0.922 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/1.202, allocations: 2.093 MB / 0.924 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005534/1.203, allocations: 231.9 kB / 0.9242 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/1.203, allocations: 16 kB / 0.9243 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/1.204, allocations: 31.97 kB / 0.9243 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.204, allocations: 52.44 kB / 0.9243 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/1.204, allocations: 20 kB / 0.9244 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007249/1.205, allocations: 0.5068 MB / 0.9249 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.205, allocations: 0 / 0.9249 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001111/1.206, allocations: 279.8 kB / 0.9251 GB, free: 8.656 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005707/1.212, allocations: 2.758 MB / 0.9278 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003347/1.215, allocations: 1.425 MB / 0.9292 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.215, allocations: 4 kB / 0.9292 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/1.217, allocations: 0.8835 MB / 0.9301 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/1.219, allocations: 438.2 kB / 0.9305 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/1.25, allocations: 10.85 MB / 0.9411 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/1.251, allocations: 0.975 MB / 0.942 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008485/1.252, allocations: 162.6 kB / 0.9422 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/1.252, allocations: 283.3 kB / 0.9425 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of SimCode: time 1.543e-06/1.252, allocations: 0 / 0.9425 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3881/1.641, allocations: 27.93 MB / 0.9697 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004035/1.641, allocations: 267 kB / 0.97 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/4.148, allocations: 64 / 0.97 GB, free: 10.75 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)