Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_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.003777/0.003777, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.000989/0.000989, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6947/0.6947, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3752, allocations: 80.2 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1809/0.5562, allocations: 192.6 MB / 0.8473 GB, free: 4.887 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005439/0.5616, allocations: 4.007 MB / 0.8512 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.5622, allocations: 27.88 kB / 0.8512 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.5633, allocations: 489 kB / 0.8517 GB, free: 372 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.5664, allocations: 1.587 MB / 0.8532 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.5693, allocations: 1.375 MB / 0.8546 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.5712, allocations: 1.647 MB / 0.8562 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5722, allocations: 0.947 MB / 0.8571 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5735, allocations: 0.9423 MB / 0.858 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000915/0.5744, allocations: 0.8448 MB / 0.8589 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.5745, allocations: 100 kB / 0.859 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.5768, allocations: 1.317 MB / 0.8602 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.5771, allocations: 354.9 kB / 0.8606 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.5776, allocations: 0.5094 MB / 0.8611 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.5795, allocations: 1.636 MB / 0.8627 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5795, allocations: 0 / 0.8627 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5795, allocations: 0 / 0.8627 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5795, allocations: 0 / 0.8627 GB, free: 5.07 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002666/0.5822, allocations: 1.456 MB / 0.8641 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.5822, allocations: 12.03 kB / 0.8641 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.5823, allocations: 90.52 kB / 0.8642 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.5838, allocations: 242.7 kB / 0.8644 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.5846, allocations: 0.611 MB / 0.865 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.5846, allocations: 37 kB / 0.8651 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5848, allocations: 48 kB / 0.8651 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5861, allocations: 0.9648 MB / 0.8661 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.5861, allocations: 3.938 kB / 0.8661 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.5862, allocations: 31.92 kB / 0.8661 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.5862, allocations: 23.98 kB / 0.8661 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.5876, allocations: 0.9407 MB / 0.867 GB, free: 456 kB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.272/0.8596, allocations: 4.255 MB / 0.8712 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/0.8606, allocations: 0.5975 MB / 0.8718 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.8614, allocations: 0.5123 MB / 0.8723 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007889/0.8622, allocations: 0.8789 MB / 0.8731 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.8622, allocations: 37.78 kB / 0.8732 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001393/0.8636, allocations: 420.2 kB / 0.8736 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 2.835e-06/0.8637, allocations: 0 / 0.8736 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01682/0.8805, allocations: 3.839 MB / 0.8773 GB, free: 192 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.8805, allocations: 57.09 kB / 0.8774 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/0.8815, allocations: 0.7111 MB / 0.8781 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.8816, allocations: 36.02 kB / 0.8781 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.8818, allocations: 325.1 kB / 0.8784 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.882, allocations: 173.6 kB / 0.8786 GB, free: 191 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.8823, allocations: 146.9 kB / 0.8787 GB, free: 191 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.8823, allocations: 330.9 kB / 0.879 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.883, allocations: 393.4 kB / 0.8794 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.8838, allocations: 488.5 kB / 0.8799 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.8851, allocations: 0.9308 MB / 0.8808 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8851, allocations: 5.188 kB / 0.8808 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01029/0.8954, allocations: 2.552 MB / 0.8833 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.8954, allocations: 11.48 kB / 0.8833 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8955, allocations: 1.344 kB / 0.8833 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008761/0.9042, allocations: 1.735 MB / 0.885 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.9047, allocations: 90.2 kB / 0.8851 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.9154, allocations: 7.143 MB / 0.892 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.9163, allocations: 20.39 kB / 0.8921 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/0.9164, allocations: 48.98 kB / 0.8921 GB, free: 181.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.9167, allocations: 202.6 kB / 0.8923 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.9169, allocations: 82.72 kB / 0.8924 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/0.9214, allocations: 1.748 MB / 0.8941 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.9214, allocations: 6.438 kB / 0.8941 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9215, allocations: 2.938 kB / 0.8941 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.9215, allocations: 5.078 kB / 0.8941 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.9267, allocations: 2.542 MB / 0.8966 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9267, allocations: 2.375 kB / 0.8966 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.9271, allocations: 87.48 kB / 0.8967 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/0.9303, allocations: 0.8037 MB / 0.8975 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.9303, allocations: 17.48 kB / 0.8975 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005378/0.9357, allocations: 4.844 MB / 0.9022 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9357, allocations: 2.875 kB / 0.9022 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/0.9405, allocations: 2.151 MB / 0.9043 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.9409, allocations: 231.8 kB / 0.9045 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.941, allocations: 12.81 kB / 0.9045 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.9416, allocations: 33.39 kB / 0.9046 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.9417, allocations: 52.38 kB / 0.9046 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.9418, allocations: 22.39 kB / 0.9046 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005655/0.9423, allocations: 0.4946 MB / 0.9051 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9424, allocations: 0 / 0.9051 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009861/0.9433, allocations: 290.9 kB / 0.9054 GB, free: 172.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005132/0.9485, allocations: 2.812 MB / 0.9081 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00315/0.9516, allocations: 1.463 MB / 0.9096 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9517, allocations: 1.469 kB / 0.9096 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.9532, allocations: 0.9171 MB / 0.9105 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.955, allocations: 467.7 kB / 0.9109 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/0.9801, allocations: 10.43 MB / 0.9211 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.9804, allocations: 0.9789 MB / 0.9221 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005803/0.981, allocations: 166.6 kB / 0.9222 GB, free: 159.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.9813, allocations: 283.3 kB / 0.9225 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of SimCode: time 7.82e-07/0.9813, allocations: 0 / 0.9225 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/1.029, allocations: 29.65 MB / 0.9514 GB, free: 130.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/11.04, allocations: 16 kB / 0.9515 GB, free: 130.1 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)