Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_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.004754/0.00476, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001241/0.001241, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9443/0.9443, allocations: 135.6 MB / 426.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 0.5857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 81.03 MB / 0.6649 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001814/0.3544, allocations: 1.249 MB / 0.6661 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002464/0.3547, allocations: 122.7 kB / 0.6662 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.3548, allocations: 0 / 0.6662 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.3548, allocations: 3.984 kB / 0.6662 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.3548, allocations: 9.5 kB / 0.6662 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.355, allocations: 34.95 kB / 0.6663 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.603e-05/0.3551, allocations: 17.27 kB / 0.6663 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.3551, allocations: 2.656 kB / 0.6663 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.3552, allocations: 6.125 kB / 0.6663 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.3552, allocations: 7.859 kB / 0.6663 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3552, allocations: 0 / 0.6663 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3553, allocations: 56.75 kB / 0.6663 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.3554, allocations: 3.938 kB / 0.6663 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.3554, allocations: 10.22 kB / 0.6664 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3555, allocations: 46.08 kB / 0.6664 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3555, allocations: 0 / 0.6664 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3555, allocations: 1.406 kB / 0.6664 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3555, allocations: 0 / 0.6664 GB, free: 5.844 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.0002675/0.3558, allocations: 326.1 kB / 0.6667 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3558, allocations: 9.344 kB / 0.6667 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.25e-05/0.3559, allocations: 31.97 kB / 0.6668 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.3559, allocations: 13.95 kB / 0.6668 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.356, allocations: 165.6 kB / 0.6669 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.356, allocations: 1.375 kB / 0.6669 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.356, allocations: 9.141 kB / 0.6669 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.872e-05/0.356, allocations: 29.05 kB / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3561, allocations: 0 / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.3561, allocations: 0 / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3561, allocations: 1.281 kB / 0.667 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.3561, allocations: 7.375 kB / 0.667 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.58e-05/0.3562, allocations: 156.3 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.3563, allocations: 24.17 kB / 0.6671 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.3563, allocations: 11.55 kB / 0.6672 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004968/0.3568, allocations: 0.6036 MB / 0.6677 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.3568, allocations: 35.84 kB / 0.6678 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3568, allocations: 4 kB / 0.6678 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001143/0.3569, allocations: 47.12 kB / 0.6678 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.357, allocations: 52.69 kB / 0.6679 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.357, allocations: 98.02 kB / 0.668 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.357, allocations: 25.7 kB / 0.668 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.357, allocations: 81.61 kB / 0.6681 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3571, allocations: 9.297 kB / 0.6681 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.3571, allocations: 19.17 kB / 0.6681 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.3571, allocations: 316.5 kB / 0.6684 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.3571, allocations: 1.25 kB / 0.6684 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.3572, allocations: 2.188 kB / 0.6684 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.3572, allocations: 18.42 kB / 0.6684 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3572, allocations: 0 / 0.6684 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.097e-05/0.3573, allocations: 50.62 kB / 0.6685 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3573, allocations: 5.219 kB / 0.6685 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3573, allocations: 96 / 0.6685 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3573, allocations: 5.031 kB / 0.6685 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.3573, allocations: 3.094 kB / 0.6685 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3573, allocations: 0 / 0.6685 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.3574, allocations: 9.016 kB / 0.6685 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3574, allocations: 1.656 kB / 0.6685 GB, free: 3.484 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 3.65e-05/0.3574, allocations: 111.4 kB / 0.6686 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.3574, allocations: 3.938 kB / 0.6686 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.3575, allocations: 49.88 kB / 0.6687 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3575, allocations: 4.031 kB / 0.6687 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3575, allocations: 1.438 kB / 0.6687 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3575, allocations: 0 / 0.6687 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.119e-05/0.3576, allocations: 153 kB / 0.6688 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3576, allocations: 0 / 0.6688 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.3576, allocations: 2.594 kB / 0.6688 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3576, allocations: 1.656 kB / 0.6688 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3576, allocations: 4 kB / 0.6688 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3576, allocations: 0 / 0.6688 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3576, allocations: 1.219 kB / 0.6688 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.468e-05/0.3577, allocations: 69.75 kB / 0.6689 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.3577, allocations: 78.36 kB / 0.669 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.3577, allocations: 1.344 kB / 0.669 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.3578, allocations: 3.938 kB / 0.669 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.3578, allocations: 5.109 kB / 0.669 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3578, allocations: 5.125 kB / 0.669 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.3578, allocations: 82.33 kB / 0.669 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3578, allocations: 4.031 kB / 0.669 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001898/0.358, allocations: 15 kB / 0.6691 GB, free: 2.84 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.0002563/0.3583, allocations: 0.6191 MB / 0.6697 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.3583, allocations: 11.81 kB / 0.6697 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3584, allocations: 4.094 kB / 0.6697 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.3584, allocations: 4.312 kB / 0.6697 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.3586, allocations: 9.094 kB / 0.6697 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.3592, allocations: 1.092 MB / 0.6708 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.844e-05/0.3593, allocations: 0.6756 MB / 0.6714 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.3593, allocations: 2.406 kB / 0.6714 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.3593, allocations: 12.91 kB / 0.6714 GB, free: 392 kB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.3593, allocations: 0 / 0.6714 GB, free: 392 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1546/0.5139, allocations: 1.427 MB / 0.6728 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.264, allocations: 5.609 kB / 0.6728 GB, free: 15.58 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)