Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.0008161/0.0008161, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004715/0.004715, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.158/1.158, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001614/0.001614, allocations: 286.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 32.66/32.66, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004754, allocations: 17.56 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.223, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.8304/1.053, allocations: 183.7 MB / 0.8646 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01253/1.066, allocations: 6.086 MB / 0.8705 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/1.068, allocations: 31.91 kB / 0.8706 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/1.07, allocations: 454.4 kB / 0.871 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006581/1.077, allocations: 1.779 MB / 0.8727 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/1.08, allocations: 0.8601 MB / 0.8736 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00525/1.085, allocations: 3.412 MB / 0.8769 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/1.086, allocations: 0.6249 MB / 0.8775 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/1.088, allocations: 0.7213 MB / 0.8782 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/1.09, allocations: 0.7715 MB / 0.879 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/1.09, allocations: 33 kB / 0.879 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004256/1.095, allocations: 1.835 MB / 0.8808 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/1.095, allocations: 315.6 kB / 0.8811 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000822/1.096, allocations: 0.5088 MB / 0.8816 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00398/1.1, allocations: 1.944 MB / 0.8835 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.1, allocations: 4 kB / 0.8835 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.264e-06/1.1, allocations: 0 / 0.8835 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.52e-05/1.1, allocations: 0 / 0.8835 GB, free: 4.77 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002325/1.102, allocations: 1.2 MB / 0.8847 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.103, allocations: 12.03 kB / 0.8847 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/1.103, allocations: 110.5 kB / 0.8848 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/1.105, allocations: 314.5 kB / 0.8851 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.106, allocations: 0.7493 MB / 0.8858 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/1.106, allocations: 53.3 kB / 0.8859 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.106, allocations: 64 kB / 0.8859 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.107, allocations: 0.794 MB / 0.8867 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.107, allocations: 11.92 kB / 0.8867 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/1.108, allocations: 24 kB / 0.8867 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/1.108, allocations: 37.31 kB / 0.8868 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/1.109, allocations: 0.6492 MB / 0.8874 GB, free: 0.6445 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.004054/1.113, allocations: 3.371 MB / 0.8907 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/1.114, allocations: 0.5005 MB / 0.8912 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/1.114, allocations: 303.9 kB / 0.8915 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/1.115, allocations: 0.677 MB / 0.8921 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.115, allocations: 43 kB / 0.8922 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 1.794e-06/1.115, allocations: 0 / 0.8922 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001697/1.117, allocations: 0.791 MB / 0.893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.117, allocations: 59.84 kB / 0.893 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/1.117, allocations: 0.6018 MB / 0.8936 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/1.117, allocations: 37.64 kB / 0.8936 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/1.118, allocations: 392.2 kB / 0.894 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/1.118, allocations: 181.4 kB / 0.8942 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/1.118, allocations: 53.62 kB / 0.8942 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.118, allocations: 378.8 kB / 0.8946 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/1.119, allocations: 213 kB / 0.8948 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/1.119, allocations: 291.2 kB / 0.8951 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/1.12, allocations: 0.5114 MB / 0.8956 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/1.12, allocations: 3.984 kB / 0.8956 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001131/1.121, allocations: 0.6386 MB / 0.8962 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.121, allocations: 10.03 kB / 0.8962 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.121, allocations: 7.984 kB / 0.8962 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.121, allocations: 4 kB / 0.8962 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/1.122, allocations: 139.8 kB / 0.8964 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/1.122, allocations: 7.938 kB / 0.8964 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/1.123, allocations: 87.48 kB / 0.8964 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/1.123, allocations: 19.98 kB / 0.8965 GB, free: 6.816 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004231/1.123, allocations: 254.3 kB / 0.8967 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.123, allocations: 79.14 kB / 0.8968 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/1.124, allocations: 0.6088 MB / 0.8974 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.124, allocations: 4 kB / 0.8974 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.124, allocations: 3.938 kB / 0.8974 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/1.126, allocations: 0.8262 MB / 0.8982 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/1.128, allocations: 1.562 MB / 0.8997 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.128, allocations: 0 / 0.8997 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/1.129, allocations: 175.9 kB / 0.8999 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.129, allocations: 4 kB / 0.8999 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/1.129, allocations: 16 kB / 0.8999 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.129, allocations: 4 kB / 0.8999 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.129, allocations: 0 / 0.8999 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/1.13, allocations: 0.9667 MB / 0.9009 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/1.131, allocations: 227.8 kB / 0.9011 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-05/1.131, allocations: 15.98 kB / 0.9011 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/1.132, allocations: 53.12 kB / 0.9011 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/1.132, allocations: 32.39 kB / 0.9012 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/1.132, allocations: 23.98 kB / 0.9012 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005228/1.132, allocations: 427 kB / 0.9016 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.132, allocations: 0 / 0.9016 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008174/1.133, allocations: 279.4 kB / 0.9019 GB, free: 1.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002085/1.135, allocations: 1.616 MB / 0.9034 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009855/1.136, allocations: 0.5212 MB / 0.9039 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.136, allocations: 0 / 0.9039 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004381/1.137, allocations: 278.3 kB / 0.9042 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/1.139, allocations: 472.5 kB / 0.9047 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009214/1.148, allocations: 6.641 MB / 0.9112 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/1.149, allocations: 1.028 MB / 0.9122 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008091/1.15, allocations: 178.1 kB / 0.9123 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/1.15, allocations: 307.3 kB / 0.9126 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of SimCode: time 1.092e-06/1.15, allocations: 0 / 0.9126 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08697/1.237, allocations: 20.77 MB / 0.9329 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.237, allocations: 274.5 kB / 0.9332 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.535, allocations: 0 / 0.9332 GB, free: 1.156 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)