Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.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 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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 108 kB / 15.6 MB, free: 132 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.001109/0.001109, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4186/0.4186, allocations: 54.95 MB / 324.7 MB, free: 36 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.001529/0.001529, allocations: 67.91 kB / 395.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1107, allocations: 59.58 MB / 455 MB, free: 168 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.184/0.2947, allocations: 1.234 MB / 456.2 MB, free: 40 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000236/0.295, allocations: 119.9 kB / 456.3 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.295, allocations: 3.406 kB / 456.3 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.2951, allocations: 2.406 kB / 456.3 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.2951, allocations: 5.594 kB / 456.3 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.2953, allocations: 36.59 kB / 456.4 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.2954, allocations: 14.34 kB / 456.4 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.2954, allocations: 2.375 kB / 456.4 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.2955, allocations: 15.81 kB / 456.4 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.2955, allocations: 2.625 kB / 456.4 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.2955, allocations: 0 / 456.4 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2956, allocations: 53.03 kB / 456.5 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.2957, allocations: 2.625 kB / 456.5 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.2957, allocations: 6.844 kB / 456.5 MB, free: 39.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.2958, allocations: 42.64 kB / 456.5 MB, free: 39.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2958, allocations: 2.281 kB / 456.5 MB, free: 39.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2958, allocations: 0 / 456.5 MB, free: 39.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2958, allocations: 0.5625 kB / 456.5 MB, free: 39.94 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003054/0.2961, allocations: 334 kB / 456.8 MB, free: 39.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2962, allocations: 13.92 kB / 456.9 MB, free: 39.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.2962, allocations: 1.5 kB / 456.9 MB, free: 39.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.579e-05/0.2963, allocations: 165.5 kB / 457 MB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2963, allocations: 3.656 kB / 457 MB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2963, allocations: 384 / 457 MB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.63e-05/0.2964, allocations: 36.62 kB / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2964, allocations: 2.094 kB / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.2964, allocations: 6.719 kB / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2964, allocations: 0 / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.2965, allocations: 2.656 kB / 457.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.2966, allocations: 153.1 kB / 457.2 MB, free: 39.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.2966, allocations: 28.23 kB / 457.2 MB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.2967, allocations: 11.08 kB / 457.3 MB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/0.2972, allocations: 0.6034 MB / 457.9 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.2973, allocations: 37.12 kB / 457.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2973, allocations: 0 / 457.9 MB, free: 38.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001216/0.2974, allocations: 43.7 kB / 457.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.2974, allocations: 52.12 kB / 458 MB, free: 38.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.2975, allocations: 102.6 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-06/0.2975, allocations: 25.7 kB / 458.1 MB, free: 38.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.807e-05/0.2975, allocations: 83.84 kB / 458.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.2975, allocations: 12.62 kB / 458.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2976, allocations: 13.84 kB / 458.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.2976, allocations: 311.4 kB / 458.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.2976, allocations: 4.375 kB / 458.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.2977, allocations: 6.219 kB / 458.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.2977, allocations: 15.67 kB / 458.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2977, allocations: 0 / 458.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.13e-05/0.2978, allocations: 44.3 kB / 458.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2978, allocations: 5.688 kB / 458.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2978, allocations: 4.594 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2978, allocations: 3.531 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.2979, allocations: 4.781 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2979, allocations: 0.9062 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.2979, allocations: 0.5 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.2979, allocations: 1.281 kB / 458.6 MB, free: 37.75 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 (2): * Single equations (assignments): 2 * 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.774e-05/0.2979, allocations: 111.9 kB / 458.7 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.298, allocations: 0.5 kB / 458.7 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.298, allocations: 53.56 kB / 458.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2981, allocations: 0 / 458.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2981, allocations: 0.6875 kB / 458.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2981, allocations: 0 / 458.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.305e-05/0.2981, allocations: 155.9 kB / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2981, allocations: 0.7031 kB / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.2982, allocations: 4.312 kB / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2982, allocations: 1 kB / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2982, allocations: 4.688 kB / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2982, allocations: 0 / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2982, allocations: 0.8125 kB / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.731e-05/0.2982, allocations: 66.73 kB / 459 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.2983, allocations: 83.14 kB / 459.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2983, allocations: 9.984 kB / 459.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.2983, allocations: 4.125 kB / 459.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.2983, allocations: 2.531 kB / 459.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.2983, allocations: 0 / 459.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.796e-05/0.2984, allocations: 79.69 kB / 459.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.2984, allocations: 0 / 459.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.2986, allocations: 16.91 kB / 459.2 MB, free: 37.17 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 (2): * Single equations (assignments): 2 * 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.0001175/0.2987, allocations: 115.3 kB / 459.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.064e-05/0.2988, allocations: 21.45 kB / 459.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2988, allocations: 0 / 459.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.838e-06/0.2988, allocations: 2.875 kB / 459.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.299, allocations: 6.5 kB / 459.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.2992, allocations: 104.5 kB / 459.4 MB, free: 36.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.897e-05/0.2993, allocations: 0.6779 MB / 460.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.2994, allocations: 0 / 460.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.2994, allocations: 10 kB / 460.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2994, allocations: 4.312 kB / 460.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of Templates: time 0.002539/0.3019, allocations: 0.5925 MB / 460.7 MB, free: 36.24 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)