Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_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.004672/0.004672, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.0012/0.0012, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8348/0.8348, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 71.83 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3187, allocations: 80.91 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1744/0.4931, allocations: 192.6 MB / 0.8523 GB, free: 296 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005506/0.4987, allocations: 4.017 MB / 0.8562 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.4993, allocations: 23.88 kB / 0.8562 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5004, allocations: 472.9 kB / 0.8567 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.5034, allocations: 1.531 MB / 0.8582 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.5062, allocations: 1.358 MB / 0.8595 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.508, allocations: 1.635 MB / 0.8611 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.5091, allocations: 0.9432 MB / 0.862 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.5104, allocations: 0.915 MB / 0.8629 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.5115, allocations: 0.8526 MB / 0.8637 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.5117, allocations: 100 kB / 0.8638 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.5137, allocations: 1.309 MB / 0.8651 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.514, allocations: 359 kB / 0.8654 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.5145, allocations: 0.5094 MB / 0.8659 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.5164, allocations: 1.64 MB / 0.8675 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5164, allocations: 0 / 0.8675 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5164, allocations: 0 / 0.8675 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.5165, allocations: 7.938 kB / 0.8675 GB, free: 0.582 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.2468/0.7633, allocations: 1.439 MB / 0.869 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7633, allocations: 10.41 kB / 0.869 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.7634, allocations: 88.2 kB / 0.869 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.765, allocations: 245.6 kB / 0.8693 GB, free: 195.4 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008448/0.7658, allocations: 0.6073 MB / 0.8699 GB, free: 195 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.7659, allocations: 41.94 kB / 0.8699 GB, free: 195 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.766, allocations: 50.59 kB / 0.87 GB, free: 195 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.7673, allocations: 0.9592 MB / 0.8709 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.7674, allocations: 5.5 kB / 0.8709 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.7674, allocations: 22.22 kB / 0.8709 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.7675, allocations: 33.11 kB / 0.871 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.7689, allocations: 0.938 MB / 0.8719 GB, free: 194.1 MB / 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.004338/0.7733, allocations: 4.266 MB / 0.876 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.7742, allocations: 0.5954 MB / 0.8766 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/0.7748, allocations: 0.5182 MB / 0.8771 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007535/0.7756, allocations: 0.8801 MB / 0.878 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.7756, allocations: 45.42 kB / 0.878 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00133/0.777, allocations: 414.3 kB / 0.8784 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 2.314e-06/0.777, allocations: 2.344 kB / 0.8784 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01685/0.7938, allocations: 3.833 MB / 0.8822 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.7939, allocations: 60.89 kB / 0.8822 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.7945, allocations: 0.703 MB / 0.8829 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.7946, allocations: 36.83 kB / 0.883 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.7948, allocations: 327.8 kB / 0.8833 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.7949, allocations: 182.1 kB / 0.8834 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.7951, allocations: 147 kB / 0.8836 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.7952, allocations: 330.7 kB / 0.8839 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.7957, allocations: 393.8 kB / 0.8843 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.7963, allocations: 488.2 kB / 0.8847 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.7976, allocations: 0.9199 MB / 0.8856 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7976, allocations: 3.938 kB / 0.8856 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01041/0.808, allocations: 2.553 MB / 0.8881 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8081, allocations: 10.16 kB / 0.8881 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.8081, allocations: 2.281 kB / 0.8881 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008823/0.8169, allocations: 1.728 MB / 0.8898 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.8173, allocations: 94.12 kB / 0.8899 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.8278, allocations: 7.136 MB / 0.8969 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.8285, allocations: 25.89 kB / 0.8969 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.8286, allocations: 47.58 kB / 0.897 GB, free: 177 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.0002748/0.8289, allocations: 208.2 kB / 0.8972 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.8291, allocations: 91.12 kB / 0.8972 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/0.8336, allocations: 1.736 MB / 0.8989 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.8336, allocations: 6.656 kB / 0.8989 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8336, allocations: 3.344 kB / 0.8989 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.8336, allocations: 4.859 kB / 0.899 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.8386, allocations: 2.534 MB / 0.9014 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8386, allocations: 1.156 kB / 0.9014 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.839, allocations: 92.55 kB / 0.9015 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.8421, allocations: 0.8065 MB / 0.9023 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.8422, allocations: 27.02 kB / 0.9023 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/0.8475, allocations: 4.84 MB / 0.9071 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.8475, allocations: 1.531 kB / 0.9071 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/0.852, allocations: 2.14 MB / 0.9091 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.8523, allocations: 243.8 kB / 0.9094 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8524, allocations: 20.72 kB / 0.9094 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.8529, allocations: 21.39 kB / 0.9094 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.8531, allocations: 44.34 kB / 0.9095 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.8531, allocations: 21.88 kB / 0.9095 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004385/0.8536, allocations: 0.5032 MB / 0.91 GB, free: 168 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8536, allocations: 0 / 0.91 GB, free: 168 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006916/0.8543, allocations: 282.3 kB / 0.9102 GB, free: 168 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.004743/0.859, allocations: 2.826 MB / 0.913 GB, free: 166 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002722/0.8618, allocations: 1.467 MB / 0.9144 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8618, allocations: 0 / 0.9144 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.8632, allocations: 0.9031 MB / 0.9153 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.8649, allocations: 459.7 kB / 0.9158 GB, free: 163.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/0.89, allocations: 10.43 MB / 0.9259 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.8903, allocations: 0.9867 MB / 0.9269 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.8907, allocations: 162.6 kB / 0.9271 GB, free: 151.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.891, allocations: 279.3 kB / 0.9273 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of SimCode: time 2.61e-07/0.891, allocations: 0 / 0.9273 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5512/1.442, allocations: 29.66 MB / 0.9563 GB, free: 121.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/12.15, allocations: 11.94 kB / 0.9563 GB, free: 121.8 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)