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.00419/0.00419, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001095/0.001095, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.945/0.945, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4069, allocations: 80.91 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.2065/0.6135, allocations: 192.6 MB / 0.8523 GB, free: 300 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006435/0.62, allocations: 4.014 MB / 0.8562 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009754/0.621, allocations: 23.88 kB / 0.8562 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.6225, allocations: 489 kB / 0.8567 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.6266, allocations: 1.587 MB / 0.8582 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.6306, allocations: 1.379 MB / 0.8596 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002872/0.6335, allocations: 1.647 MB / 0.8612 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.635, allocations: 0.9543 MB / 0.8621 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.6371, allocations: 0.9307 MB / 0.863 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.6387, allocations: 0.8565 MB / 0.8639 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.6391, allocations: 99.94 kB / 0.8639 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.642, allocations: 1.317 MB / 0.8652 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.6426, allocations: 351 kB / 0.8656 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009694/0.6435, allocations: 0.5211 MB / 0.8661 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.6468, allocations: 1.641 MB / 0.8677 GB, free: 464 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6468, allocations: 0 / 0.8677 GB, free: 464 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6468, allocations: 0 / 0.8677 GB, free: 464 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.119e-05/0.6469, allocations: 0 / 0.8677 GB, free: 464 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.318/0.9649, allocations: 1.466 MB / 0.8691 GB, free: 195.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.965, allocations: 13.03 kB / 0.8691 GB, free: 195.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003077/0.9653, allocations: 95.59 kB / 0.8692 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.9674, allocations: 248.6 kB / 0.8695 GB, free: 195.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.9686, allocations: 0.6045 MB / 0.87 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.9687, allocations: 41.33 kB / 0.8701 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.9688, allocations: 58.16 kB / 0.8701 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.9705, allocations: 0.963 MB / 0.8711 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.9706, allocations: 6.219 kB / 0.8711 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.9707, allocations: 26.66 kB / 0.8711 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.9707, allocations: 30.02 kB / 0.8711 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.9724, allocations: 0.933 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.005347/0.9778, allocations: 4.259 MB / 0.8762 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/0.9788, allocations: 0.6125 MB / 0.8768 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.9796, allocations: 0.5098 MB / 0.8773 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000893/0.9805, allocations: 0.8793 MB / 0.8782 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.9805, allocations: 37.38 kB / 0.8782 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00164/0.9822, allocations: 418.2 kB / 0.8786 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 3.987e-06/0.9822, allocations: 0.5156 kB / 0.8786 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01887/1.001, allocations: 3.845 MB / 0.8824 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.001, allocations: 56.62 kB / 0.8824 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/1.002, allocations: 0.7136 MB / 0.8831 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.002, allocations: 36.39 kB / 0.8831 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/1.003, allocations: 322.4 kB / 0.8834 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/1.003, allocations: 181.8 kB / 0.8836 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/1.003, allocations: 147.4 kB / 0.8838 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.666e-05/1.003, allocations: 331 kB / 0.8841 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/1.004, allocations: 393.4 kB / 0.8845 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/1.005, allocations: 491.6 kB / 0.8849 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/1.006, allocations: 0.9232 MB / 0.8858 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.006, allocations: 0.9062 kB / 0.8858 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01191/1.018, allocations: 2.561 MB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/1.018, allocations: 10.67 kB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.018, allocations: 2.188 kB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009867/1.028, allocations: 1.732 MB / 0.89 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/1.029, allocations: 95.23 kB / 0.8901 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.041, allocations: 7.144 MB / 0.8971 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.042, allocations: 20.8 kB / 0.8971 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/1.042, allocations: 52.98 kB / 0.8972 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.000497/1.043, allocations: 213.9 kB / 0.8974 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/1.043, allocations: 87.22 kB / 0.8975 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/1.049, allocations: 1.729 MB / 0.8991 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.049, allocations: 5.719 kB / 0.8991 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.049, allocations: 4.156 kB / 0.8992 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.049, allocations: 4.234 kB / 0.8992 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006248/1.055, allocations: 2.539 MB / 0.9016 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.055, allocations: 11.44 kB / 0.9016 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/1.055, allocations: 84.8 kB / 0.9017 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/1.059, allocations: 0.8037 MB / 0.9025 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/1.059, allocations: 18.86 kB / 0.9025 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006218/1.065, allocations: 4.859 MB / 0.9073 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.065, allocations: 1.438 kB / 0.9073 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/1.071, allocations: 2.143 MB / 0.9094 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/1.071, allocations: 245.5 kB / 0.9096 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/1.072, allocations: 13.09 kB / 0.9096 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/1.072, allocations: 21.42 kB / 0.9096 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.073, allocations: 47.91 kB / 0.9097 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/1.073, allocations: 23.2 kB / 0.9097 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000659/1.073, allocations: 0.5004 MB / 0.9102 GB, free: 168 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.073, allocations: 3.969 kB / 0.9102 GB, free: 168 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001146/1.075, allocations: 285 kB / 0.9105 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.005517/1.08, allocations: 2.825 MB / 0.9132 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003447/1.084, allocations: 1.468 MB / 0.9147 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.084, allocations: 4.25 kB / 0.9147 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.085, allocations: 0.9102 MB / 0.9156 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.002424/1.088, allocations: 469.4 kB / 0.916 GB, free: 163.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.117, allocations: 10.45 MB / 0.9262 GB, free: 152.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/1.117, allocations: 0.9828 MB / 0.9272 GB, free: 151.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007055/1.118, allocations: 158.6 kB / 0.9273 GB, free: 151.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/1.119, allocations: 287.3 kB / 0.9276 GB, free: 151 MB / 0.6856 GB Notification: Performance of SimCode: time 9.12e-07/1.119, allocations: 0 / 0.9276 GB, free: 151 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05933/1.178, allocations: 29.67 MB / 0.9566 GB, free: 121.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.94, allocations: 3.188 kB / 0.9566 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)