Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.001398/0.001398, allocations: 99.62 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.001438/0.001438, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.076/3.076, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.167/3.167, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00095/0.0009502, allocations: 14.84 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4499, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003202/0.4533, allocations: 0.9938 MB / 0.7882 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.4543, allocations: 271.3 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.4544, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.4545, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.4547, allocations: 11.91 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.4551, allocations: 59.89 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.4552, allocations: 23.91 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.4553, allocations: 4 kB / 0.7886 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.4556, allocations: 35.92 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.4557, allocations: 23.91 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.4557, allocations: 0 / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.456, allocations: 71.92 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.4561, allocations: 11.86 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.4562, allocations: 37.64 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.4564, allocations: 48.16 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4564, allocations: 4 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.377e-06/0.4564, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4564, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006567/0.4571, allocations: 347.3 kB / 0.7891 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.963e-05/0.4572, allocations: 8.031 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.4573, allocations: 34.56 kB / 0.7891 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.4574, allocations: 7.906 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.4576, allocations: 171 kB / 0.7893 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.4577, allocations: 4 kB / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.4577, allocations: 0 / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.4579, allocations: 37.69 kB / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4579, allocations: 0 / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.458, allocations: 0 / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.458, allocations: 8 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.4581, allocations: 7.938 kB / 0.7894 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.4584, allocations: 161.6 kB / 0.7895 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.4586, allocations: 34.67 kB / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/0.4608, allocations: 1.187 MB / 0.7907 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.4609, allocations: 30.56 kB / 0.7908 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 3.206e-06/0.4609, allocations: 0 / 0.7908 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000301/0.4612, allocations: 57.62 kB / 0.7908 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4613, allocations: 51.41 kB / 0.7909 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4615, allocations: 113.8 kB / 0.791 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.4615, allocations: 25.7 kB / 0.791 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.4616, allocations: 84.14 kB / 0.7911 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.4617, allocations: 5.109 kB / 0.7911 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.4617, allocations: 0 / 0.7911 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4619, allocations: 322.8 kB / 0.7914 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.4619, allocations: 4 kB / 0.7914 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.462, allocations: 4 kB / 0.7914 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.462, allocations: 8 kB / 0.7914 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4621, allocations: 4 kB / 0.7914 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001448/0.4622, allocations: 49.58 kB / 0.7914 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.4623, allocations: 4 kB / 0.7915 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4623, allocations: 0 / 0.7915 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4623, allocations: 0 / 0.7915 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.4624, allocations: 4 kB / 0.7915 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4624, allocations: 0 / 0.7915 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.4625, allocations: 8 kB / 0.7915 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.4625, allocations: 3.938 kB / 0.7915 GB, free: 7.02 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.4627, allocations: 113.8 kB / 0.7916 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4627, allocations: 11.86 kB / 0.7916 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.463, allocations: 66.16 kB / 0.7916 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.463, allocations: 0 / 0.7916 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.463, allocations: 0 / 0.7916 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.463, allocations: 0 / 0.7916 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.4633, allocations: 153.7 kB / 0.7918 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4633, allocations: 12 kB / 0.7918 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.4634, allocations: 7.984 kB / 0.7918 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.4634, allocations: 3.953 kB / 0.7918 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4634, allocations: 0 / 0.7918 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4634, allocations: 0 / 0.7918 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4634, allocations: 0 / 0.7918 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.4636, allocations: 69.12 kB / 0.7919 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.4638, allocations: 85.02 kB / 0.792 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4638, allocations: 15.88 kB / 0.792 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.4639, allocations: 4 kB / 0.792 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.4639, allocations: 0 / 0.792 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.464, allocations: 4 kB / 0.792 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.388e-05/0.4641, allocations: 91.25 kB / 0.7921 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.52e-07/0.4641, allocations: 0 / 0.7921 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004496/0.4646, allocations: 27.94 kB / 0.7921 GB, free: 6.258 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008399/0.4654, allocations: 0.6398 MB / 0.7927 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.4656, allocations: 19.92 kB / 0.7927 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4656, allocations: 0 / 0.7927 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.4656, allocations: 8 kB / 0.7928 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.4659, allocations: 7.953 kB / 0.7928 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.4666, allocations: 172.2 kB / 0.7929 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.4671, allocations: 0.6848 MB / 0.7936 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.4672, allocations: 4 kB / 0.7936 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.4672, allocations: 11.44 kB / 0.7936 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of SimCode: time 1.021e-06/0.4672, allocations: 0 / 0.7936 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4831/0.9503, allocations: 1.402 MB / 0.795 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003271/0.9507, allocations: 202.9 kB / 0.7952 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/4.139, allocations: 0 / 0.7952 GB, free: 3.105 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) Environment - environmentSimulation: