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.005462/0.005462, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001312/0.001312, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9662/0.9662, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4379, allocations: 80.9 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.2076/0.6456, allocations: 192.6 MB / 0.8523 GB, free: 288 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006265/0.6519, allocations: 4.011 MB / 0.8562 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/0.6528, allocations: 19.88 kB / 0.8562 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.654, allocations: 489 kB / 0.8567 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.6577, allocations: 1.591 MB / 0.8582 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.6612, allocations: 1.376 MB / 0.8596 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.6634, allocations: 1.639 MB / 0.8612 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.6645, allocations: 0.9548 MB / 0.8621 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.6661, allocations: 0.9424 MB / 0.863 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.6671, allocations: 0.8526 MB / 0.8639 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.6673, allocations: 96 kB / 0.8639 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.6701, allocations: 1.305 MB / 0.8652 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.6705, allocations: 358.9 kB / 0.8656 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.6712, allocations: 0.5094 MB / 0.8661 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.6742, allocations: 1.636 MB / 0.8677 GB, free: 480 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6742, allocations: 4 kB / 0.8677 GB, free: 476 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6742, allocations: 3.938 kB / 0.8677 GB, free: 472 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.6742, allocations: 4 kB / 0.8677 GB, free: 468 kB / 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.3361/1.01, allocations: 1.434 MB / 0.8691 GB, free: 195.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/1.01, allocations: 9.531 kB / 0.8691 GB, free: 195.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/1.011, allocations: 96.55 kB / 0.8692 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/1.012, allocations: 244.5 kB / 0.8694 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/1.013, allocations: 0.6066 MB / 0.87 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/1.014, allocations: 37.19 kB / 0.87 GB, free: 195 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/1.014, allocations: 49.12 kB / 0.8701 GB, free: 195 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/1.016, allocations: 0.9625 MB / 0.871 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/1.016, allocations: 12.91 kB / 0.871 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/1.016, allocations: 25.61 kB / 0.8711 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-05/1.016, allocations: 29.03 kB / 0.8711 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/1.018, allocations: 0.9462 MB / 0.872 GB, free: 194.2 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.005585/1.023, allocations: 4.254 MB / 0.8762 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/1.025, allocations: 0.6026 MB / 0.8767 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/1.025, allocations: 0.5148 MB / 0.8772 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/1.026, allocations: 0.8761 MB / 0.8781 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.026, allocations: 37.75 kB / 0.8781 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001544/1.028, allocations: 418.7 kB / 0.8785 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 4.599e-06/1.028, allocations: 0 / 0.8785 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01715/1.045, allocations: 3.849 MB / 0.8823 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/1.045, allocations: 56.69 kB / 0.8824 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/1.046, allocations: 0.7076 MB / 0.883 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/1.046, allocations: 36.52 kB / 0.8831 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/1.046, allocations: 316.8 kB / 0.8834 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/1.046, allocations: 177.9 kB / 0.8836 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/1.047, allocations: 151.5 kB / 0.8837 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.633e-05/1.047, allocations: 322 kB / 0.884 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/1.047, allocations: 397.7 kB / 0.8844 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/1.048, allocations: 484.2 kB / 0.8848 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/1.05, allocations: 0.9207 MB / 0.8857 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.05, allocations: 3.938 kB / 0.8857 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01072/1.06, allocations: 2.562 MB / 0.8882 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.06, allocations: 6.312 kB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.06, allocations: 1.344 kB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008993/1.069, allocations: 1.737 MB / 0.89 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/1.07, allocations: 94.83 kB / 0.89 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.081, allocations: 7.137 MB / 0.897 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/1.082, allocations: 27.42 kB / 0.897 GB, free: 177 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.082, allocations: 49.45 kB / 0.8971 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.0003828/1.083, allocations: 205.6 kB / 0.8973 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.083, allocations: 78.94 kB / 0.8974 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/1.088, allocations: 1.74 MB / 0.8991 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.088, allocations: 6.406 kB / 0.8991 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.088, allocations: 4 kB / 0.8991 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.088, allocations: 3.984 kB / 0.8991 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/1.093, allocations: 2.54 MB / 0.9015 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.093, allocations: 3.938 kB / 0.9016 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/1.094, allocations: 88.48 kB / 0.9016 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003183/1.097, allocations: 0.803 MB / 0.9024 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/1.097, allocations: 13.5 kB / 0.9024 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/1.103, allocations: 4.853 MB / 0.9072 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.103, allocations: 1.625 kB / 0.9072 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/1.108, allocations: 2.139 MB / 0.9093 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/1.109, allocations: 236.3 kB / 0.9095 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.109, allocations: 13.31 kB / 0.9095 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/1.11, allocations: 24.83 kB / 0.9095 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/1.11, allocations: 52.47 kB / 0.9096 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/1.11, allocations: 22.7 kB / 0.9096 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005363/1.11, allocations: 0.4991 MB / 0.9101 GB, free: 168 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 0 / 0.9101 GB, free: 168 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009377/1.111, allocations: 286.5 kB / 0.9104 GB, free: 167.9 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.005085/1.117, allocations: 2.823 MB / 0.9131 GB, free: 166 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003148/1.12, allocations: 1.476 MB / 0.9146 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.12, allocations: 0 / 0.9146 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.121, allocations: 0.9171 MB / 0.9155 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/1.123, allocations: 454.7 kB / 0.9159 GB, free: 163.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/1.15, allocations: 10.42 MB / 0.9261 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.15, allocations: 0.9853 MB / 0.927 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006325/1.151, allocations: 162.6 kB / 0.9272 GB, free: 151.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/1.151, allocations: 283.3 kB / 0.9274 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/1.151, allocations: 0 / 0.9274 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07571/1.227, allocations: 29.67 MB / 0.9564 GB, free: 121.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.53, allocations: 14.05 kB / 0.9564 GB, free: 121.7 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)