Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8274/0.8274, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.17 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.517e-05, allocations: 3.281 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5396/0.6908, allocations: 111 MB / 0.7489 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.691, allocations: 79.39 kB / 0.749 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00255/0.6936, allocations: 0.8495 MB / 0.7498 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6936, allocations: 0 / 0.7498 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.6936, allocations: 3.844 kB / 0.7499 GB, free: 27.68 MB / 0.5105 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.000251/0.6939, allocations: 329.7 kB / 0.7502 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.694, allocations: 11.5 kB / 0.7502 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.694, allocations: 31.55 kB / 0.7502 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.694, allocations: 7.75 kB / 0.7502 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.6941, allocations: 169.6 kB / 0.7504 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.6942, allocations: 0 / 0.7504 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.6942, allocations: 0 / 0.7504 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.409e-05/0.6943, allocations: 32.89 kB / 0.7504 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6943, allocations: 0 / 0.7504 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.6943, allocations: 6.469 kB / 0.7504 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6943, allocations: 3.844 kB / 0.7504 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.838e-05/0.6943, allocations: 9.672 kB / 0.7504 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.6945, allocations: 153.3 kB / 0.7506 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.363e-05/0.6945, allocations: 29.42 kB / 0.7506 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.6945, allocations: 8.703 kB / 0.7506 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.6951, allocations: 0.601 MB / 0.7512 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.6952, allocations: 34.56 kB / 0.7512 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.6952, allocations: 0 / 0.7512 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001135/0.6953, allocations: 35.88 kB / 0.7513 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.6953, allocations: 51.41 kB / 0.7513 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.6954, allocations: 96.36 kB / 0.7514 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.6954, allocations: 29.67 kB / 0.7514 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.6954, allocations: 82.67 kB / 0.7515 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.6955, allocations: 7.844 kB / 0.7515 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.6955, allocations: 3.688 kB / 0.7515 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6956, allocations: 314.9 kB / 0.7518 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.6956, allocations: 7.781 kB / 0.7518 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.6956, allocations: 3.938 kB / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.448e-05/0.6956, allocations: 6.219 kB / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6956, allocations: 3.953 kB / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.271e-05/0.6957, allocations: 40.89 kB / 0.7519 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6957, allocations: 6.703 kB / 0.7519 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6957, allocations: 0 / 0.7519 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.6957, allocations: 4.094 kB / 0.7519 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.6958, allocations: 3.844 kB / 0.7519 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6958, allocations: 0 / 0.7519 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.6958, allocations: 0 / 0.7519 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.6958, allocations: 0 / 0.7519 GB, free: 25.45 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.6959, allocations: 104.9 kB / 0.752 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.6959, allocations: 3.953 kB / 0.752 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.722e-05/0.696, allocations: 46.83 kB / 0.752 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.696, allocations: 6.797 kB / 0.7521 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.696, allocations: 3.969 kB / 0.7521 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.696, allocations: 0 / 0.7521 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.534e-05/0.6961, allocations: 148 kB / 0.7522 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6961, allocations: 3.906 kB / 0.7522 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.6962, allocations: 6.078 kB / 0.7522 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6962, allocations: 3.812 kB / 0.7522 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.6962, allocations: 0 / 0.7522 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6962, allocations: 0 / 0.7522 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6962, allocations: 0 / 0.7522 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.599e-05/0.6963, allocations: 75.08 kB / 0.7523 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.6963, allocations: 83.44 kB / 0.7524 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.6963, allocations: 3.953 kB / 0.7524 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.6963, allocations: 0 / 0.7524 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-06/0.6964, allocations: 0 / 0.7524 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.6964, allocations: 3.875 kB / 0.7524 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.6964, allocations: 78.78 kB / 0.7524 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6964, allocations: 0 / 0.7524 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001874/0.6966, allocations: 21.91 kB / 0.7525 GB, free: 24.85 MB / 0.5105 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 () * 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 (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.0003743/0.697, allocations: 0.6111 MB / 0.7531 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.583e-05/0.6971, allocations: 7.312 kB / 0.7531 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6971, allocations: 3.906 kB / 0.7531 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.6971, allocations: 11.94 kB / 0.7531 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.6972, allocations: 7.609 kB / 0.7531 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.6975, allocations: 92.3 kB / 0.7532 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.6977, allocations: 0.68 MB / 0.7538 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.6978, allocations: 0 / 0.7538 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.6978, allocations: 17.33 kB / 0.7539 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.6978, allocations: 4 kB / 0.7539 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.7081, allocations: 1.183 MB / 0.755 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.7083, allocations: 152.3 kB / 0.7552 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.357, allocations: 0 / 0.7552 GB, free: 23.04 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)