Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_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.001103/0.001103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001087/0.001087, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.139/1.139, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.814/0.814, allocations: 143 MB / 433.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 59.91 kB / 0.5138 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1155, allocations: 82.04 MB / 0.5939 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001822/0.1173, allocations: 1.328 MB / 0.5952 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002282/0.1176, allocations: 123.5 kB / 0.5953 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.1176, allocations: 0 / 0.5953 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1176, allocations: 3.984 kB / 0.5953 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.1177, allocations: 3.938 kB / 0.5953 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.1179, allocations: 35.95 kB / 0.5954 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.981e-05/0.1179, allocations: 15.94 kB / 0.5954 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.118, allocations: 0 / 0.5954 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.118, allocations: 7.984 kB / 0.5954 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.118, allocations: 3.938 kB / 0.5954 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.118, allocations: 4 kB / 0.5954 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.1181, allocations: 51.94 kB / 0.5954 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.1182, allocations: 3.938 kB / 0.5954 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.1182, allocations: 11.92 kB / 0.5955 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.258e-05/0.1183, allocations: 39.95 kB / 0.5955 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1183, allocations: 0 / 0.5955 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1183, allocations: 0 / 0.5955 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.1183, allocations: 0 / 0.5955 GB, free: 8.273 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002844/0.1186, allocations: 334.8 kB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1186, allocations: 8.031 kB / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.1186, allocations: 34.75 kB / 0.5959 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.891e-05/0.1187, allocations: 4.938 kB / 0.5959 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.458e-05/0.1188, allocations: 164.4 kB / 0.596 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1188, allocations: 384 / 0.596 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.1188, allocations: 4.375 kB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.363e-05/0.1189, allocations: 37.64 kB / 0.5961 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.1189, allocations: 3.938 kB / 0.5961 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.1189, allocations: 3.984 kB / 0.5961 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1189, allocations: 0 / 0.5961 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.1189, allocations: 11.92 kB / 0.5961 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.119, allocations: 149.7 kB / 0.5962 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.1191, allocations: 34.59 kB / 0.5963 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.1191, allocations: 4.859 kB / 0.5963 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.1197, allocations: 0.6052 MB / 0.5968 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.1197, allocations: 30.56 kB / 0.5969 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1197, allocations: 3.938 kB / 0.5969 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001133/0.1199, allocations: 49.62 kB / 0.5969 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.1199, allocations: 55.53 kB / 0.597 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.1199, allocations: 97.86 kB / 0.5971 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.12, allocations: 29.69 kB / 0.5971 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.12, allocations: 80.14 kB / 0.5972 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.12, allocations: 3.906 kB / 0.5972 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.12, allocations: 17.72 kB / 0.5972 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.1201, allocations: 310.8 kB / 0.5975 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.1201, allocations: 4 kB / 0.5975 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-06/0.1201, allocations: 4 kB / 0.5975 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.1202, allocations: 20.84 kB / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1202, allocations: 0 / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.117e-05/0.1202, allocations: 41.58 kB / 0.5976 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.1202, allocations: 4 kB / 0.5976 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1202, allocations: 0 / 0.5976 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.1203, allocations: 0 / 0.5976 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/0.1203, allocations: 8 kB / 0.5976 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1203, allocations: 0 / 0.5976 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.1203, allocations: 4.094 kB / 0.5976 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1203, allocations: 4 kB / 0.5976 GB, free: 5.777 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.892e-05/0.1204, allocations: 117.8 kB / 0.5977 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.1204, allocations: 7.844 kB / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.1205, allocations: 48.75 kB / 0.5977 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1205, allocations: 4 kB / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1205, allocations: 0 / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.1205, allocations: 3.938 kB / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.213e-05/0.1206, allocations: 149.7 kB / 0.5979 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1206, allocations: 3.938 kB / 0.5979 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.1206, allocations: 7.984 kB / 0.5979 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1206, allocations: 4 kB / 0.5979 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.1206, allocations: 0 / 0.5979 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1206, allocations: 0 / 0.5979 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1206, allocations: 0 / 0.5979 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.015e-05/0.1207, allocations: 57.14 kB / 0.598 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.1208, allocations: 93.06 kB / 0.5981 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.1208, allocations: 3.938 kB / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.1208, allocations: 0 / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.1208, allocations: 0 / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1208, allocations: 0 / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.1208, allocations: 79.28 kB / 0.5981 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1208, allocations: 0 / 0.5981 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001756/0.121, allocations: 23.92 kB / 0.5982 GB, free: 5.086 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0002881/0.1213, allocations: 0.6202 MB / 0.5988 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.723e-05/0.1214, allocations: 11.94 kB / 0.5988 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1214, allocations: 0 / 0.5988 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.019e-05/0.1214, allocations: 4 kB / 0.5988 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.1216, allocations: 18.17 kB / 0.5988 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1223, allocations: 1.097 MB / 0.5999 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.1225, allocations: 0.669 MB / 0.6005 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.1225, allocations: 4.047 kB / 0.6005 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.1225, allocations: 11.42 kB / 0.6005 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1225, allocations: 0 / 0.6005 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/0.3403, allocations: 1.34 MB / 0.6018 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.3405, allocations: 214.8 kB / 0.6021 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.807, allocations: 4.062 kB / 0.6021 GB, free: 1.055 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)