Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.conf.json 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.001019/0.001019, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001025/0.001025, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9579/0.9579, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7611/0.7611, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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) Running command: translateModel(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=18373,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow") translateModel(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=18373,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.53e-05, allocations: 3.156 kB / 480 MB, free: 6.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.002783/0.002808, allocations: 2.052 MB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.004823, allocations: 1.787 MB / 483.8 MB, free: 3.16 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004925, allocations: 0 / 483.8 MB, free: 3.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.005168, allocations: 52.33 kB / 483.9 MB, free: 3.109 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.005599, allocations: 178.5 kB / 484.1 MB, free: 2.945 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.005822, allocations: 71.67 kB / 484.1 MB, free: 2.875 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.006299, allocations: 0.5791 MB / 484.7 MB, free: 2.293 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.00635, allocations: 10.56 kB / 484.7 MB, free: 2.281 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.007215, allocations: 291 kB / 485 MB, free: 2.008 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01305/0.02026, allocations: 4.062 MB / 489.1 MB, free: 15.35 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.02037, allocations: 48.56 kB / 489.1 MB, free: 15.3 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.02064, allocations: 103.9 kB / 489.2 MB, free: 15.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.02082, allocations: 204.2 kB / 489.4 MB, free: 15 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.021, allocations: 163.5 kB / 489.6 MB, free: 14.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.02169, allocations: 0.5025 MB / 490.1 MB, free: 14.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.02169, allocations: 1.688 kB / 490.1 MB, free: 14.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.0217, allocations: 0 / 490.1 MB, free: 14.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.02171, allocations: 0 / 490.1 MB, free: 14.34 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001032/0.02274, allocations: 0.7492 MB / 490.8 MB, free: 13.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.02278, allocations: 8.031 kB / 490.8 MB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.02291, allocations: 69.78 kB / 490.9 MB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.02335, allocations: 324.1 kB / 491.2 MB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.02338, allocations: 29.38 kB / 491.2 MB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.02344, allocations: 29 kB / 491.3 MB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.02397, allocations: 409.9 kB / 491.7 MB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.02398, allocations: 3.938 kB / 491.7 MB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.02401, allocations: 11.98 kB / 491.7 MB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.02402, allocations: 13.69 kB / 491.7 MB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.02637, allocations: 1.684 MB / 493.4 MB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.02751, allocations: 0.6437 MB / 494 MB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.03165, allocations: 2.094 MB / 496.1 MB, free: 8.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.03179, allocations: 75.92 kB / 496.2 MB, free: 8.262 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.03182, allocations: 12.5 kB / 496.2 MB, free: 8.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.03209, allocations: 218.2 kB / 496.4 MB, free: 8.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.404e-06/0.03209, allocations: 0 / 496.4 MB, free: 8.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.0004773/0.03257, allocations: 265.9 kB / 496.7 MB, free: 7.766 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.03261, allocations: 82.27 kB / 496.8 MB, free: 7.668 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.03295, allocations: 413 kB / 497.2 MB, free: 7.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.033, allocations: 46.53 kB / 497.2 MB, free: 7.199 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.03308, allocations: 181.9 kB / 497.4 MB, free: 7.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.03321, allocations: 188 kB / 497.6 MB, free: 6.836 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.03332, allocations: 78.12 kB / 497.7 MB, free: 6.754 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.03343, allocations: 362.7 kB / 498 MB, free: 6.391 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.03354, allocations: 59.8 kB / 498.1 MB, free: 6.332 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.03369, allocations: 138.2 kB / 498.2 MB, free: 6.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.03396, allocations: 198.1 kB / 498.4 MB, free: 5.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.03396, allocations: 0 / 498.4 MB, free: 5.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006254/0.03459, allocations: 246.5 kB / 498.6 MB, free: 5.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.03461, allocations: 11.94 kB / 498.6 MB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.03461, allocations: 1.438 kB / 498.6 MB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.03463, allocations: 4 kB / 498.7 MB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.03488, allocations: 83.81 kB / 498.7 MB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.03488, allocations: 0 / 498.7 MB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.03498, allocations: 28.5 kB / 498.8 MB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.03501, allocations: 12.64 kB / 498.8 MB, free: 5.594 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.CONTAMdata.nextTimeEvent,$whenCondition1,CONTAMdata.nextTimeEventScaled,$PRE.CONTAMdata.nextTimeEventScaled,CONTAMdata.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.000132/0.03514, allocations: 136.6 kB / 498.9 MB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.03521, allocations: 41.19 kB / 498.9 MB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/0.03591, allocations: 0.5045 MB / 499.5 MB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.03592, allocations: 12 kB / 499.5 MB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.03592, allocations: 0 / 499.5 MB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.03593, allocations: 9.984 kB / 499.5 MB, free: 4.887 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.03633, allocations: 322.7 kB / 499.8 MB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.03634, allocations: 0 / 499.8 MB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.03668, allocations: 143.8 kB / 499.9 MB, free: 4.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.03669, allocations: 5.25 kB / 499.9 MB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.03672, allocations: 23.98 kB / 500 MB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.03672, allocations: 4 kB / 500 MB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.03673, allocations: 3.938 kB / 500 MB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.0372, allocations: 403.7 kB / 0.4886 GB, free: 3.969 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.03727, allocations: 75.36 kB / 0.4887 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.03735, allocations: 29.16 kB / 0.4887 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.03745, allocations: 19.94 kB / 0.4888 GB, free: 3.848 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.03754, allocations: 68.81 kB / 0.4888 GB, free: 3.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.03759, allocations: 24.48 kB / 0.4888 GB, free: 3.754 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.03777, allocations: 198.2 kB / 0.489 GB, free: 3.562 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03777, allocations: 4 kB / 0.489 GB, free: 3.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003492/0.03812, allocations: 139.8 kB / 0.4892 GB, free: 3.422 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Number of discrete states: 2 (CONTAMdata.nextTimeEvent,CONTAMdata.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001386/0.03951, allocations: 0.5629 MB / 0.4897 GB, free: 3.188 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.03992, allocations: 271.6 kB / 0.49 GB, free: 2.926 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.03994, allocations: 4 kB / 0.49 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.04018, allocations: 210 kB / 0.4902 GB, free: 2.711 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.04045, allocations: 91.2 kB / 0.4903 GB, free: 2.633 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.04181, allocations: 0.9631 MB / 0.4912 GB, free: 1.645 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.04192, allocations: 166.5 kB / 0.4914 GB, free: 1.461 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.04217, allocations: 136.9 kB / 0.4915 GB, free: 1.328 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.04249, allocations: 176.1 kB / 0.4917 GB, free: 1.156 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0425, allocations: 0 / 0.4917 GB, free: 1.156 MB / 458.7 MB Notification: Performance of Templates: time 0.01286/0.05536, allocations: 8.392 MB / 0.4999 GB, free: 8.941 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; mkfifo IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe ; head -c 1048576 < IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe >> ../files/IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.sim & ./IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.933780234772712]