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.004375/0.004375, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001124/0.001124, allocations: 197.3 kB / 16.67 MB, free: 5.926 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7173/0.7173, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 71.83 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3839, allocations: 80.19 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1839/0.5678, allocations: 192.6 MB / 0.8473 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007233/0.5751, allocations: 4.008 MB / 0.8512 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.5756, allocations: 27.88 kB / 0.8512 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.5767, allocations: 469 kB / 0.8517 GB, free: 300 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.5795, allocations: 1.53 MB / 0.8532 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.5822, allocations: 1.362 MB / 0.8545 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.5838, allocations: 1.639 MB / 0.8561 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.5848, allocations: 0.9432 MB / 0.857 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.5858, allocations: 0.9228 MB / 0.8579 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008834/0.5867, allocations: 0.8527 MB / 0.8588 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.5869, allocations: 96 kB / 0.8589 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.5887, allocations: 1.313 MB / 0.8601 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.5891, allocations: 355 kB / 0.8605 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.5895, allocations: 0.5172 MB / 0.861 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.5913, allocations: 1.636 MB / 0.8626 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5913, allocations: 0 / 0.8626 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5913, allocations: 0 / 0.8626 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.5913, allocations: 0 / 0.8626 GB, free: 5.098 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.002719/0.5941, allocations: 1.441 MB / 0.864 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5941, allocations: 8.031 kB / 0.864 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.5942, allocations: 94.52 kB / 0.8641 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.5957, allocations: 250.6 kB / 0.8643 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.5965, allocations: 0.6149 MB / 0.8649 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.5966, allocations: 33 kB / 0.865 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.5967, allocations: 48 kB / 0.865 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.598, allocations: 0.9648 MB / 0.8659 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.598, allocations: 0 / 0.8659 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.5981, allocations: 31.92 kB / 0.866 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.5981, allocations: 31.92 kB / 0.866 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.5995, allocations: 0.9407 MB / 0.8669 GB, free: 488 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.287/0.8865, allocations: 4.249 MB / 0.8711 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/0.8875, allocations: 0.5988 MB / 0.8717 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.8883, allocations: 0.5167 MB / 0.8722 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/0.8891, allocations: 0.8783 MB / 0.873 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.8892, allocations: 40.5 kB / 0.8731 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001488/0.8907, allocations: 420.8 kB / 0.8735 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 2.915e-06/0.8907, allocations: 0 / 0.8735 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01716/0.9078, allocations: 3.837 MB / 0.8772 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.9079, allocations: 61.17 kB / 0.8773 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.909, allocations: 0.7049 MB / 0.8779 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.9092, allocations: 36.17 kB / 0.878 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.9094, allocations: 324.9 kB / 0.8783 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.9096, allocations: 175.4 kB / 0.8785 GB, free: 191 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.9099, allocations: 151 kB / 0.8786 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.91, allocations: 330.8 kB / 0.8789 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/0.9108, allocations: 397.9 kB / 0.8793 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/0.9115, allocations: 484.8 kB / 0.8798 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.9129, allocations: 0.9238 MB / 0.8807 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.9129, allocations: 5.5 kB / 0.8807 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01075/0.9237, allocations: 2.556 MB / 0.8832 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9237, allocations: 5.75 kB / 0.8832 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.9237, allocations: 2.281 kB / 0.8832 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009028/0.9328, allocations: 1.734 MB / 0.8849 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.9332, allocations: 94.5 kB / 0.885 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.9441, allocations: 7.143 MB / 0.8919 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.9449, allocations: 20.64 kB / 0.892 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.9451, allocations: 40.78 kB / 0.892 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.000418/0.9455, allocations: 214.9 kB / 0.8922 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.9458, allocations: 82.62 kB / 0.8923 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.9507, allocations: 1.739 MB / 0.894 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.9507, allocations: 6.5 kB / 0.894 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.9507, allocations: 3.469 kB / 0.894 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.9507, allocations: 3.984 kB / 0.894 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/0.9564, allocations: 2.545 MB / 0.8965 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.9565, allocations: 2.312 kB / 0.8965 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.9569, allocations: 87.52 kB / 0.8966 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003406/0.9603, allocations: 0.7958 MB / 0.8973 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.9604, allocations: 14.16 kB / 0.8973 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005653/0.966, allocations: 4.851 MB / 0.9021 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.966, allocations: 6.344 kB / 0.9021 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004892/0.9709, allocations: 2.15 MB / 0.9042 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.9714, allocations: 233.5 kB / 0.9044 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.9716, allocations: 12.91 kB / 0.9044 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.9722, allocations: 25.02 kB / 0.9045 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.9724, allocations: 52.78 kB / 0.9045 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.9724, allocations: 18.16 kB / 0.9045 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006393/0.9731, allocations: 0.5018 MB / 0.905 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.42e-07/0.9731, allocations: 0 / 0.905 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00106/0.9741, allocations: 286.7 kB / 0.9053 GB, free: 172.7 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.005369/0.9795, allocations: 2.814 MB / 0.908 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.9829, allocations: 1.464 MB / 0.9095 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.9829, allocations: 1.562 kB / 0.9095 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.9846, allocations: 0.9231 MB / 0.9104 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.002041/0.9866, allocations: 458.3 kB / 0.9108 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.014, allocations: 10.43 MB / 0.921 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/1.014, allocations: 0.9789 MB / 0.9219 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008463/1.015, allocations: 166.6 kB / 0.9221 GB, free: 159.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/1.016, allocations: 283.3 kB / 0.9224 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of SimCode: time 7.32e-07/1.016, allocations: 0 / 0.9224 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05452/1.07, allocations: 30.38 MB / 0.952 GB, free: 129.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.24, allocations: 11.44 kB / 0.952 GB, free: 129.3 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)