Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_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.007311/0.00731, allocations: 102.6 kB / 15.73 MB, free: 6.027 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.001702/0.001702, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9728/0.9728, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3858, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001813/0.3877, allocations: 1.304 MB / 0.6654 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004309/0.3881, allocations: 306 kB / 0.6657 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.3882, allocations: 0 / 0.6657 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.3882, allocations: 5.281 kB / 0.6657 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.3883, allocations: 9.266 kB / 0.6657 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.3885, allocations: 83.31 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.3886, allocations: 32.38 kB / 0.6658 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.3887, allocations: 6.469 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.3888, allocations: 28.97 kB / 0.6659 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.3888, allocations: 17.69 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3888, allocations: 1.438 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.389, allocations: 78.72 kB / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.389, allocations: 13.36 kB / 0.666 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.389, allocations: 7.625 kB / 0.666 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3892, allocations: 73.66 kB / 0.6661 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3892, allocations: 0 / 0.6661 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3892, allocations: 0 / 0.6661 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3892, allocations: 1.188 kB / 0.6661 GB, free: 5.812 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002764/0.3895, allocations: 355.4 kB / 0.6664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3895, allocations: 9.094 kB / 0.6664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.242e-05/0.3895, allocations: 30.75 kB / 0.6664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.3896, allocations: 7.484 kB / 0.6664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.296e-05/0.3896, allocations: 174.9 kB / 0.6666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3897, allocations: 384 / 0.6666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.3897, allocations: 5.312 kB / 0.6666 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.051e-05/0.3898, allocations: 44.06 kB / 0.6667 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3898, allocations: 0 / 0.6667 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3898, allocations: 3.938 kB / 0.6667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3898, allocations: 5.219 kB / 0.6667 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.3898, allocations: 6.875 kB / 0.6667 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.3899, allocations: 155.2 kB / 0.6668 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.092e-05/0.39, allocations: 37.91 kB / 0.6669 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.39, allocations: 16.77 kB / 0.6669 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007497/0.3908, allocations: 1.189 MB / 0.668 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3908, allocations: 35.75 kB / 0.6681 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3908, allocations: 0 / 0.6681 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001372/0.391, allocations: 53.53 kB / 0.6681 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.391, allocations: 51.41 kB / 0.6682 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.3911, allocations: 110.8 kB / 0.6683 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.3911, allocations: 26.73 kB / 0.6683 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.3911, allocations: 84.14 kB / 0.6684 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3911, allocations: 5.625 kB / 0.6684 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.3912, allocations: 17.48 kB / 0.6684 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.3912, allocations: 315.9 kB / 0.6687 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.3912, allocations: 3.75 kB / 0.6687 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.3912, allocations: 2.562 kB / 0.6687 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.3913, allocations: 28.06 kB / 0.6687 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3913, allocations: 1.281 kB / 0.6687 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.918e-05/0.3913, allocations: 44.7 kB / 0.6688 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3914, allocations: 9.953 kB / 0.6688 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3914, allocations: 0 / 0.6688 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3914, allocations: 1.25 kB / 0.6688 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.3914, allocations: 4 kB / 0.6688 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3914, allocations: 1.312 kB / 0.6688 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.3915, allocations: 0 / 0.6688 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3915, allocations: 1.375 kB / 0.6688 GB, free: 2.738 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 (3): * Single equations (assignments): 3 * 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.983e-05/0.3915, allocations: 115.2 kB / 0.6689 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.3915, allocations: 10.66 kB / 0.6689 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3916, allocations: 63.73 kB / 0.669 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3917, allocations: 1.281 kB / 0.669 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3917, allocations: 0 / 0.669 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3917, allocations: 0 / 0.669 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.288e-05/0.3917, allocations: 168.1 kB / 0.6691 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3917, allocations: 0 / 0.6691 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.3918, allocations: 5.781 kB / 0.6691 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3918, allocations: 0 / 0.6691 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.3918, allocations: 1.406 kB / 0.6691 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3918, allocations: 0 / 0.6691 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3918, allocations: 3.938 kB / 0.6692 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.043e-05/0.3919, allocations: 87.09 kB / 0.6692 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.3919, allocations: 88.81 kB / 0.6693 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.3919, allocations: 0 / 0.6693 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.392, allocations: 1.406 kB / 0.6693 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.392, allocations: 9.422 kB / 0.6693 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.392, allocations: 2.094 kB / 0.6693 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.254e-05/0.392, allocations: 88.48 kB / 0.6694 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.392, allocations: 1.188 kB / 0.6694 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002012/0.3922, allocations: 31.95 kB / 0.6694 GB, free: 2.047 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 (3): * Single equations (assignments): 3 * 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.000271/0.3925, allocations: 0.6404 MB / 0.6701 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.3926, allocations: 13.97 kB / 0.6701 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3926, allocations: 0 / 0.6701 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.3926, allocations: 10.67 kB / 0.6701 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.3928, allocations: 6.438 kB / 0.6701 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.3932, allocations: 171.4 kB / 0.6703 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.409e-05/0.3933, allocations: 0.6786 MB / 0.6709 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.3933, allocations: 3.469 kB / 0.6709 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.3934, allocations: 10.31 kB / 0.6709 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.3934, allocations: 4 kB / 0.6709 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.4103, allocations: 1.623 MB / 0.6725 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.887, allocations: 5.188 kB / 0.6725 GB, free: 15.63 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)