Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 191.5 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3396/0.3396, allocations: 54.95 MB / 324.8 MB, free: 48 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 79.52 kB / 456.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08295/0.08451, allocations: 59.59 MB / 0.5038 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00169/0.08623, allocations: 1.264 MB / 0.505 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.08662, allocations: 298.5 kB / 0.5053 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.08665, allocations: 0 / 0.5053 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.08668, allocations: 3.938 kB / 0.5053 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.08676, allocations: 13.47 kB / 0.5053 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.087, allocations: 79.5 kB / 0.5054 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.152e-05/0.08707, allocations: 37.78 kB / 0.5055 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.995e-05/0.0871, allocations: 1.281 kB / 0.5055 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.08718, allocations: 29.55 kB / 0.5055 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.08723, allocations: 13.42 kB / 0.5055 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.08724, allocations: 0 / 0.5055 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.08738, allocations: 83.78 kB / 0.5056 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.0874, allocations: 9.359 kB / 0.5056 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.08742, allocations: 8.062 kB / 0.5056 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.08755, allocations: 79.34 kB / 0.5057 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.08756, allocations: 3.938 kB / 0.5057 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.08757, allocations: 0 / 0.5057 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.08757, allocations: 0 / 0.5057 GB, free: 8.172 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000237/0.08781, allocations: 355.6 kB / 0.506 GB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.08785, allocations: 9.625 kB / 0.506 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.08788, allocations: 6.312 kB / 0.506 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.181e-05/0.08793, allocations: 171.1 kB / 0.5062 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.08795, allocations: 384 / 0.5062 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.08796, allocations: 1.75 kB / 0.5062 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.105e-05/0.08803, allocations: 43.69 kB / 0.5062 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.08804, allocations: 5.562 kB / 0.5062 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.08806, allocations: 3.938 kB / 0.5062 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.08806, allocations: 0 / 0.5062 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.0881, allocations: 6.875 kB / 0.5062 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.852e-05/0.08819, allocations: 159.2 kB / 0.5064 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.316e-05/0.08826, allocations: 38.92 kB / 0.5064 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.08828, allocations: 12.98 kB / 0.5064 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007242/0.08901, allocations: 1.188 MB / 0.5076 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.08904, allocations: 31.94 kB / 0.5076 GB, free: 5.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.073e-06/0.08904, allocations: 0 / 0.5076 GB, free: 5.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001112/0.08916, allocations: 56.7 kB / 0.5077 GB, free: 5.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.311e-05/0.08918, allocations: 52.78 kB / 0.5077 GB, free: 5.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.968e-05/0.08922, allocations: 106.1 kB / 0.5078 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.08924, allocations: 27.08 kB / 0.5079 GB, free: 5.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.095e-05/0.08925, allocations: 88.14 kB / 0.508 GB, free: 5.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.08927, allocations: 5.328 kB / 0.508 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.0893, allocations: 17.83 kB / 0.508 GB, free: 5.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.08933, allocations: 316.2 kB / 0.5083 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.08935, allocations: 2.75 kB / 0.5083 GB, free: 5.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.08936, allocations: 6.688 kB / 0.5083 GB, free: 5.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.0894, allocations: 21.09 kB / 0.5083 GB, free: 5.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.0894, allocations: 0 / 0.5083 GB, free: 5.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.259e-05/0.08946, allocations: 50.25 kB / 0.5084 GB, free: 5.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.08947, allocations: 9.5 kB / 0.5084 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.08948, allocations: 3.938 kB / 0.5084 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.08949, allocations: 48 / 0.5084 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.08954, allocations: 13.47 kB / 0.5084 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.08955, allocations: 0 / 0.5084 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.08957, allocations: 5.312 kB / 0.5084 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.08958, allocations: 1.375 kB / 0.5084 GB, free: 5.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.08962, allocations: 111.2 kB / 0.5085 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.08963, allocations: 1.375 kB / 0.5085 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/0.08973, allocations: 68.64 kB / 0.5086 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.08974, allocations: 0 / 0.5086 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.08974, allocations: 1.375 kB / 0.5086 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.08975, allocations: 0 / 0.5086 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.269e-05/0.08981, allocations: 160.5 kB / 0.5087 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.08981, allocations: 0 / 0.5087 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.08984, allocations: 4.125 kB / 0.5087 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.08985, allocations: 1.375 kB / 0.5087 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.08985, allocations: 7.938 kB / 0.5087 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.08986, allocations: 1.375 kB / 0.5087 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.08986, allocations: 0 / 0.5087 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.865e-05/0.08993, allocations: 78.77 kB / 0.5088 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.08996, allocations: 87.84 kB / 0.5089 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.08998, allocations: 5.312 kB / 0.5089 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.09002, allocations: 1.375 kB / 0.5089 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.09003, allocations: 9.312 kB / 0.5089 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.09004, allocations: 1.375 kB / 0.5089 GB, free: 4.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.123e-05/0.09006, allocations: 89.08 kB / 0.509 GB, free: 4.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09007, allocations: 0 / 0.509 GB, free: 4.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001822/0.09025, allocations: 28.5 kB / 0.509 GB, free: 4.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000123/0.09038, allocations: 122.7 kB / 0.5091 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.268e-05/0.09045, allocations: 18.14 kB / 0.5092 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.09046, allocations: 0 / 0.5092 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.09048, allocations: 11.06 kB / 0.5092 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.09063, allocations: 9.641 kB / 0.5092 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001702/0.09081, allocations: 125.9 kB / 0.5093 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.788e-05/0.09089, allocations: 0.6794 MB / 0.51 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.09093, allocations: 16.19 kB / 0.51 GB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.09094, allocations: 10 kB / 0.51 GB, free: 3.488 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.09095, allocations: 0 / 0.51 GB, free: 3.488 MB / 382.1 MB Notification: Performance of Templates: time 0.002174/0.09313, allocations: 0.7849 MB / 0.5107 GB, free: 3.094 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)