Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_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.001346/0.001346, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 195.1 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.551 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 1.823/1.823, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001458/0.001458, allocations: 73.62 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2592, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002371/0.2616, allocations: 1.244 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002729/0.2619, allocations: 127.5 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.2619, allocations: 0 / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.262, allocations: 0 / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.262, allocations: 7.938 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2623, allocations: 35.89 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.225e-05/0.2623, allocations: 19.92 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.2624, allocations: 3.984 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.2624, allocations: 7.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.2624, allocations: 4 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2625, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2626, allocations: 51.94 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.2626, allocations: 4 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.2626, allocations: 7.938 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2627, allocations: 44.16 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2628, allocations: 0 / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2628, allocations: 4 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2628, allocations: 0 / 0.7852 GB, free: 11.71 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003768/0.2632, allocations: 325.9 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2632, allocations: 12.02 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.2632, allocations: 42.69 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.2633, allocations: 4.938 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2634, allocations: 164.3 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2634, allocations: 384 / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2634, allocations: 4.375 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.2635, allocations: 30.25 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2635, allocations: 7.938 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.2635, allocations: 3.938 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2635, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.2636, allocations: 4 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.2637, allocations: 153.7 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.2638, allocations: 30.55 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.2638, allocations: 4.859 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/0.2645, allocations: 0.6013 MB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2645, allocations: 38.55 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2645, allocations: 4 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.2647, allocations: 41.64 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2647, allocations: 55.34 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.2648, allocations: 101.8 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2648, allocations: 25.7 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.2648, allocations: 80.14 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2649, allocations: 11.84 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.2649, allocations: 13.72 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.265, allocations: 319 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.265, allocations: 0 / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.265, allocations: 7.984 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.2651, allocations: 16.86 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2651, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.398e-05/0.2651, allocations: 37.64 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2652, allocations: 7.938 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2652, allocations: 4 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2652, allocations: 4.094 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.2652, allocations: 0 / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2653, allocations: 4 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.2653, allocations: 11.89 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.2653, allocations: 0 / 0.7872 GB, free: 9.207 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 (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 6.589e-05/0.2654, allocations: 105.8 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.2654, allocations: 11.88 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.562e-05/0.2655, allocations: 44.81 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2655, allocations: 4.031 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2655, allocations: 0 / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2655, allocations: 0 / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.099e-05/0.2656, allocations: 153.7 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2656, allocations: 0 / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.2656, allocations: 7.938 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2656, allocations: 3.938 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2656, allocations: 0 / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2656, allocations: 0 / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2656, allocations: 0 / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/0.2657, allocations: 73.25 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.2658, allocations: 81.09 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2658, allocations: 3.938 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.2658, allocations: 0 / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.2658, allocations: 4 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.2658, allocations: 0 / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.2659, allocations: 75.28 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2659, allocations: 0 / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001948/0.2661, allocations: 24.02 kB / 0.7878 GB, free: 8.52 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 (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.000369/0.2664, allocations: 0.6124 MB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.2665, allocations: 8 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2665, allocations: 0 / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.2666, allocations: 12.03 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2668, allocations: 11.98 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.268, allocations: 1.106 MB / 0.7895 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.2683, allocations: 0.6768 MB / 0.7902 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.2684, allocations: 4 kB / 0.7902 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.2684, allocations: 7.438 kB / 0.7902 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2684, allocations: 4 kB / 0.7902 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.286, allocations: 1.416 MB / 0.7916 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.546, allocations: 11.81 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)