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.0007006/0.0007006, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009373/0.001638, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006932/0.0006932, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008769/0.00157, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9161/0.9161, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09577/1.012, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.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.7944/0.7944, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3497/1.144, allocations: 49.05 MB / 447.8 MB, free: 6.586 MB / 426.7 MB " [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 2.084e-06/2.084e-06, allocations: 0 / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.595e-05, allocations: 7.234 kB / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Examples.TwinHouses.BaseClasses.Data.ValidationDataO5Exp1_Airflow): time 0.003968/0.003994, allocations: 2.094 MB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.007279, allocations: 1.824 MB / 453.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.007441, allocations: 7.938 kB / 453.1 MB, free: 1.371 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.007775, allocations: 49.48 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.008318, allocations: 168.9 kB / 453.3 MB, free: 1.172 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.008562, allocations: 79.59 kB / 453.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.009171, allocations: 0.5702 MB / 454 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.009247, allocations: 15.31 kB / 454 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.01032, allocations: 311.7 kB / 454.3 MB, free: 220 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.02156, allocations: 4.075 MB / 458.3 MB, free: 13.55 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.844e-05/0.02164, allocations: 45.09 kB / 458.4 MB, free: 13.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.02186, allocations: 99.92 kB / 458.5 MB, free: 13.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.02199, allocations: 155.6 kB / 458.6 MB, free: 13.26 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.02211, allocations: 112.3 kB / 458.7 MB, free: 13.15 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.02314, allocations: 466.7 kB / 459.2 MB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.02316, allocations: 0 / 459.2 MB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02316, allocations: 0.625 kB / 459.2 MB, free: 12.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.02317, allocations: 0 / 459.2 MB, free: 12.69 MB / 442.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.0009481/0.02412, allocations: 0.8384 MB / 460 MB, free: 11.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.02417, allocations: 12.66 kB / 460.1 MB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.02426, allocations: 64.89 kB / 460.1 MB, free: 11.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.02461, allocations: 324.3 kB / 460.4 MB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.02464, allocations: 25.97 kB / 460.5 MB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/0.02474, allocations: 37.19 kB / 460.5 MB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.02514, allocations: 403.7 kB / 460.9 MB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.02516, allocations: 9.719 kB / 460.9 MB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.02518, allocations: 8 kB / 460.9 MB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.02519, allocations: 8 kB / 460.9 MB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.02698, allocations: 1.688 MB / 462.6 MB, free: 9.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.02781, allocations: 0.6453 MB / 463.3 MB, free: 8.652 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.03078, allocations: 2.085 MB / 465.3 MB, free: 6.609 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.03089, allocations: 80.7 kB / 465.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.03091, allocations: 8.5 kB / 465.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.03115, allocations: 217 kB / 465.6 MB, free: 6.301 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 1.884e-06/0.03116, allocations: 3.938 kB / 465.6 MB, free: 6.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003826/0.03154, allocations: 262 kB / 465.9 MB, free: 6.039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.03157, allocations: 63.83 kB / 466 MB, free: 5.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.03213, allocations: 414 kB / 466.4 MB, free: 5.547 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.03217, allocations: 45.7 kB / 466.4 MB, free: 5.496 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.03225, allocations: 181.9 kB / 466.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.03236, allocations: 187.8 kB / 466.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.03244, allocations: 74.14 kB / 466.8 MB, free: 5.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.03254, allocations: 358.7 kB / 467.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.03262, allocations: 64.33 kB / 467.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.03274, allocations: 130.4 kB / 467.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.03295, allocations: 198.4 kB / 467.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.03295, allocations: 0 / 467.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002735/0.03322, allocations: 249.3 kB / 467.8 MB, free: 4.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.03324, allocations: 12.56 kB / 467.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.03325, allocations: 0 / 467.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.03326, allocations: 0.6875 kB / 467.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.03349, allocations: 108.4 kB / 467.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.03349, allocations: 3.938 kB / 467.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.03358, allocations: 37.23 kB / 468 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.0336, allocations: 15.97 kB / 468 MB, free: 3.867 MB / 442.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.0001108/0.03371, allocations: 136.6 kB / 468.1 MB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.03376, allocations: 41.98 kB / 468.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.0343, allocations: 0.5014 MB / 468.7 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.0343, allocations: 12 kB / 468.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.03431, allocations: 0 / 468.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.03431, allocations: 3.984 kB / 468.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.03466, allocations: 330.7 kB / 469 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.03466, allocations: 0 / 469 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.03495, allocations: 180.8 kB / 469.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.03501, allocations: 75.42 kB / 469.3 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.03501, allocations: 4 kB / 469.3 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.03504, allocations: 34.58 kB / 469.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.03505, allocations: 0 / 469.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.03505, allocations: 0 / 469.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.03542, allocations: 405.5 kB / 469.7 MB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.03548, allocations: 33.36 kB / 469.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.03555, allocations: 16 kB / 469.7 MB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.03562, allocations: 64.83 kB / 469.8 MB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.03566, allocations: 27.97 kB / 469.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.0358, allocations: 192 kB / 470 MB, free: 1.793 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0358, allocations: 1.219 kB / 470 MB, free: 1.793 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.03605, allocations: 143.8 kB / 470.2 MB, free: 1.652 MB / 442.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.001356/0.0374, allocations: 0.616 MB / 470.8 MB, free: 1.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.03773, allocations: 274.3 kB / 471 MB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/0.03775, allocations: 14.62 kB / 471.1 MB, free: 1.129 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.03799, allocations: 270.4 kB / 471.3 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.03832, allocations: 285.9 kB / 471.6 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.03992, allocations: 0.9884 MB / 472.6 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.453e-05/0.04002, allocations: 165.8 kB / 472.7 MB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.0402, allocations: 141.6 kB / 472.9 MB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.04047, allocations: 175.9 kB / 473.1 MB, free: 15.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/0.04047, allocations: 1.5 kB / 473.1 MB, free: 15.05 MB / 458.7 MB Notification: Performance of Templates: time 0.01137/0.05184, allocations: 8.492 MB / 481.6 MB, free: 6.793 MB / 458.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.9627872202545404]