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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001388/0.001388, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 132.2 MB / 422.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 60.38 kB / 0.5012 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4153, allocations: 80.2 MB / 0.5795 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.2035/0.6189, allocations: 190.4 MB / 0.7654 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006082/0.625, allocations: 4.078 MB / 0.7694 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008288/0.6259, allocations: 19.88 kB / 0.7694 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.627, allocations: 389.9 kB / 0.7698 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.6304, allocations: 1.435 MB / 0.7712 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.6333, allocations: 1.26 MB / 0.7724 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.6357, allocations: 2.353 MB / 0.7747 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.6368, allocations: 0.8715 MB / 0.7756 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.6383, allocations: 0.8642 MB / 0.7764 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009954/0.6393, allocations: 0.876 MB / 0.7773 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.6395, allocations: 76 kB / 0.7773 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.6421, allocations: 1.582 MB / 0.7789 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.6425, allocations: 339 kB / 0.7792 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005104/0.643, allocations: 0.4899 MB / 0.7797 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.6451, allocations: 1.71 MB / 0.7814 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6451, allocations: 0 / 0.7814 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6451, allocations: 4 kB / 0.7814 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.6451, allocations: 0 / 0.7814 GB, free: 2.328 MB / 0.6075 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.002989/0.6481, allocations: 1.441 MB / 0.7828 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6482, allocations: 8.031 kB / 0.7828 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6483, allocations: 90.52 kB / 0.7829 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.6499, allocations: 250.6 kB / 0.7831 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.6507, allocations: 0.5837 MB / 0.7837 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.6508, allocations: 40.98 kB / 0.7837 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.6509, allocations: 48 kB / 0.7838 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.6523, allocations: 0.9609 MB / 0.7847 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6524, allocations: 7.906 kB / 0.7847 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.6525, allocations: 23.94 kB / 0.7847 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.6525, allocations: 31.92 kB / 0.7848 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.654, allocations: 0.9368 MB / 0.7857 GB, free: 13.74 MB / 0.6231 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.005398/0.6594, allocations: 4.262 MB / 0.7898 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/0.6604, allocations: 0.5999 MB / 0.7904 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007273/0.6611, allocations: 0.5214 MB / 0.7909 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.6622, allocations: 0.8744 MB / 0.7918 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.6622, allocations: 42.94 kB / 0.7918 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/0.664, allocations: 431.2 kB / 0.7922 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 3.126e-06/0.664, allocations: 3.938 kB / 0.7922 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01818/0.6822, allocations: 3.841 MB / 0.796 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.6822, allocations: 55.84 kB / 0.796 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.6832, allocations: 0.7039 MB / 0.7967 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.6834, allocations: 41.69 kB / 0.7968 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.6836, allocations: 320.6 kB / 0.7971 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.6838, allocations: 177.4 kB / 0.7972 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.684, allocations: 142.1 kB / 0.7974 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.6841, allocations: 326 kB / 0.7977 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/0.6848, allocations: 396.9 kB / 0.7981 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.6854, allocations: 489.5 kB / 0.7985 GB, free: 56 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.6869, allocations: 0.9297 MB / 0.7994 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6869, allocations: 0 / 0.7994 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01133/0.6982, allocations: 2.552 MB / 0.8019 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.6983, allocations: 15.86 kB / 0.802 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.6983, allocations: 4 kB / 0.802 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009472/0.7078, allocations: 1.73 MB / 0.8036 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.7083, allocations: 95.8 kB / 0.8037 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.7202, allocations: 6.653 MB / 0.8102 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.7213, allocations: 31.95 kB / 0.8103 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.7214, allocations: 55.86 kB / 0.8103 GB, free: 3.652 MB / 0.6387 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.000428/0.7218, allocations: 203.3 kB / 0.8105 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.722, allocations: 79.06 kB / 0.8106 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005004/0.7271, allocations: 1.742 MB / 0.8123 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.7271, allocations: 8 kB / 0.8123 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7271, allocations: 4 kB / 0.8123 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7271, allocations: 7.922 kB / 0.8123 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.274/1.001, allocations: 2.523 MB / 0.8148 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/1.001, allocations: 2.344 kB / 0.8148 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/1.002, allocations: 91.83 kB / 0.8149 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/1.005, allocations: 0.8045 MB / 0.8156 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.493e-05/1.005, allocations: 16 kB / 0.8157 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006119/1.012, allocations: 4.471 MB / 0.82 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.012, allocations: 3.781 kB / 0.82 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00573/1.017, allocations: 2.156 MB / 0.8221 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/1.018, allocations: 236.1 kB / 0.8224 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.018, allocations: 12.72 kB / 0.8224 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/1.019, allocations: 34.62 kB / 0.8224 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/1.019, allocations: 53 kB / 0.8225 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/1.019, allocations: 21.5 kB / 0.8225 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000696/1.02, allocations: 0.4988 MB / 0.823 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.02, allocations: 5.781 kB / 0.823 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001206/1.021, allocations: 292.4 kB / 0.8233 GB, free: 215.1 MB / 0.6387 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.005918/1.027, allocations: 2.797 MB / 0.826 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00348/1.03, allocations: 1.462 MB / 0.8274 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.03, allocations: 5.031 kB / 0.8274 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/1.032, allocations: 0.9131 MB / 0.8283 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.034, allocations: 442.3 kB / 0.8287 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02981/1.064, allocations: 10.9 MB / 0.8394 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/1.064, allocations: 0.9796 MB / 0.8403 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008257/1.065, allocations: 161.1 kB / 0.8405 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/1.066, allocations: 291.1 kB / 0.8408 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.011e-06/1.066, allocations: 1.312 kB / 0.8408 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6231/1.689, allocations: 28.31 MB / 0.8684 GB, free: 182.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/1.689, allocations: 241.8 kB / 0.8686 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/4.337, allocations: 0 / 0.8686 GB, free: 182.4 MB / 0.6387 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)