Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.05246/0.05246, allocations: 9.124 MB / 28.99 MB, free: 0.8125 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.41 kB / 35.33 MB, free: 1.074 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 164.1 kB / 38.73 MB, free: 2.5 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9485/0.9485, allocations: 177.2 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003984/0.003984, allocations: 0.8293 MB / 276.5 MB, free: 0.7344 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.564/1.564, allocations: 274.9 MB / 0.5419 GB, free: 0.625 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.883e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002354/0.002383, allocations: 1.314 MB / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.002664, allocations: 115.5 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.002693, allocations: 3.938 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.002709, allocations: 0 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.002779, allocations: 0 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.00298, allocations: 47.81 kB / 0.6393 GB, free: 12.65 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.713e-05/0.003027, allocations: 15.94 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.003062, allocations: 3.984 kB / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.003095, allocations: 4 kB / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.00315, allocations: 7.984 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.003164, allocations: 0 / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.003284, allocations: 43.95 kB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.003301, allocations: 7.922 kB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.003319, allocations: 11.98 kB / 0.6394 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.003433, allocations: 43.88 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003435, allocations: 0 / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003436, allocations: 4 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.003439, allocations: 0 / 0.6394 GB, free: 12.51 MB / 0.6043 GB 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.0003338/0.003773, allocations: 232.9 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.003809, allocations: 11.98 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.003833, allocations: 0.9375 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.744e-05/0.003921, allocations: 113.7 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.003931, allocations: 384 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.003939, allocations: 384 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.182e-05/0.004001, allocations: 38.25 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004008, allocations: 3.938 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.004014, allocations: 4 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004019, allocations: 0 / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.004035, allocations: 4 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.955e-05/0.004124, allocations: 57.05 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.047e-05/0.004165, allocations: 22.55 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.004178, allocations: 4.859 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.004489, allocations: 99.91 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.004515, allocations: 38.55 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004516, allocations: 4 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 9.691e-05/0.004613, allocations: 33.69 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.004643, allocations: 59.34 kB / 0.6401 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.004704, allocations: 102.7 kB / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.004715, allocations: 25.7 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.004739, allocations: 80.14 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.004761, allocations: 3.953 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.00479, allocations: 21.7 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.004875, allocations: 314.8 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.004882, allocations: 4 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.004889, allocations: 4.125 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.004912, allocations: 8.859 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004914, allocations: 0 / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.166e-05/0.004966, allocations: 37.69 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.004977, allocations: 4 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004981, allocations: 0 / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.004993, allocations: 3.938 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.594e-05/0.005029, allocations: 4 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.005033, allocations: 3.938 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.005049, allocations: 4.094 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.005053, allocations: 4 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB 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 5.179e-05/0.005105, allocations: 105.8 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.005113, allocations: 3.984 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.00518, allocations: 41.02 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005182, allocations: 0 / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005184, allocations: 3.938 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.005188, allocations: 3.984 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.127e-05/0.00525, allocations: 65.86 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005251, allocations: 0 / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.005268, allocations: 12.03 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.00527, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-06/0.005273, allocations: 3.938 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005275, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005276, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.75e-05/0.005333, allocations: 69 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.005341, allocations: 3.984 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-06/0.00535, allocations: 4 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.005362, allocations: 0 / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.005373, allocations: 3.984 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.005376, allocations: 8.031 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.144e-05/0.005387, allocations: 4.859 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.005387, allocations: 0 / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001906/0.005578, allocations: 19.88 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB 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.0001301/0.005708, allocations: 92.34 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.00588, allocations: 16.8 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.005883, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 9.168e-06/0.005892, allocations: 8.859 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.005996, allocations: 16.11 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.006379, allocations: 100.7 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.00641, allocations: 55.36 kB / 0.6413 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.006436, allocations: 0 / 0.6413 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.006482, allocations: 59.3 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of SimCode: time 4.91e-07/0.006483, allocations: 0 / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of Templates: time 0.002793/0.009276, allocations: 0.7519 MB / 0.6421 GB, free: 9.477 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (rm -f AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.202504449058324]