Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer.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.0006808/0.0006808, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008929/0.001574, allocations: 447.7 kB / 10.29 MB, free: 420 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.0006923/0.0006923, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008808/0.001573, allocations: 480.2 kB / 11.64 MB, free: 2.535 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.9263/0.9263, allocations: 177.1 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1481/1.074, allocations: 53.66 MB / 243.2 MB, free: 2.391 MB / 234.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 1.059/1.059, allocations: 154.6 MB / 398.5 MB, free: 2.832 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.09737/1.156, allocations: 49.05 MB / 447.5 MB, free: 1.699 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_AdsolairDatasheetSummer",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_AdsolairDatasheetSummer",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.984 kB / 448.8 MB, free: 456 kB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.041e-05, allocations: 6.25 kB / 448.8 MB, free: 448 kB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer): time 0.417/0.4171, allocations: 188.7 MB / 0.6226 GB, free: 5.137 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.04844/0.4655, allocations: 33.82 MB / 0.6556 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01038/0.4759, allocations: 388.9 kB / 0.656 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.008963/0.4849, allocations: 3.743 MB / 0.6596 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01644/0.5013, allocations: 7.851 MB / 0.6673 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.5143, allocations: 7.558 MB / 0.6747 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.03179/0.546, allocations: 35.63 MB / 0.7095 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008893/0.5549, allocations: 6.923 MB / 0.7162 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0145/0.5694, allocations: 11.64 MB / 0.7276 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005753/0.5752, allocations: 5.497 MB / 0.733 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009911/0.5762, allocations: 1.012 MB / 0.7339 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.5798, allocations: 2.824 MB / 0.7367 GB, free: 196 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.5819, allocations: 3.46 MB / 0.7401 GB, free: 12.72 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.003394/0.5853, allocations: 3.154 MB / 0.7432 GB, free: 9.562 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.5957, allocations: 8.881 MB / 0.7518 GB, free: 0.6523 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.5958, allocations: 0 / 0.7518 GB, free: 0.6523 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5958, allocations: 0 / 0.7518 GB, free: 0.6523 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0002796/0.596, allocations: 0 / 0.7518 GB, free: 0.6523 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1361 * Number of variables: 1361 Notification: Performance of Generate backend data structure: time 0.01172/0.6078, allocations: 10.62 MB / 0.7622 GB, free: 5.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6078, allocations: 12.03 kB / 0.7622 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006123/0.6084, allocations: 0.7345 MB / 0.7629 GB, free: 5.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00751/0.6159, allocations: 3.099 MB / 0.766 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2757/0.8916, allocations: 6.362 MB / 0.7722 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/0.892, allocations: 482.9 kB / 0.7726 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008433/0.8928, allocations: 0.5705 MB / 0.7732 GB, free: 158.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006204/0.899, allocations: 5.606 MB / 0.7787 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.861e-05/0.8991, allocations: 12.47 kB / 0.7787 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.8995, allocations: 231 kB / 0.7789 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.8997, allocations: 229.7 kB / 0.7791 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.9028, allocations: 1.913 MB / 0.781 GB, free: 156.1 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/0.9251, allocations: 20.38 MB / 0.8009 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.9283, allocations: 2.398 MB / 0.8032 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.9294, allocations: 0.9088 MB / 0.8041 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.9297, allocations: 127.3 kB / 0.8042 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/0.9313, allocations: 2.493 MB / 0.8067 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001924/0.9333, allocations: 402.4 kB / 0.8071 GB, free: 146.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=342): time 1.488e-05/0.9333, allocations: 0.9062 kB / 0.8071 GB, free: 146.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=347): time 0.009525/0.9428, allocations: 5.273 MB / 0.8122 GB, free: 145.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008289/0.9436, allocations: 2.019 MB / 0.8142 GB, free: 143.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/0.9486, allocations: 6.364 MB / 0.8204 GB, free: 142.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.9489, allocations: 113.7 kB / 0.8205 GB, free: 142.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.9501, allocations: 2.502 MB / 0.8229 GB, free: 141.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005778/0.9506, allocations: 1.226 MB / 0.8241 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009671/0.9516, allocations: 0.9218 MB / 0.825 GB, free: 140.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 2.363e-05/0.9516, allocations: 301.1 kB / 0.8253 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.953, allocations: 0.8213 MB / 0.8261 GB, free: 139.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.9548, allocations: 2.777 MB / 0.8288 GB, free: 136.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.9579, allocations: 3.169 MB / 0.8319 GB, free: 133.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.9579, allocations: 12.88 kB / 0.8319 GB, free: 133.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=602) (initialization): time 0.004815/0.9627, allocations: 3.488 MB / 0.8354 GB, free: 130.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.9628, allocations: 49.69 kB / 0.8354 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.9628, allocations: 38.39 kB / 0.8354 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.9642, allocations: 0.6377 MB / 0.8361 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.9674, allocations: 1.313 MB / 0.8373 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.9706, allocations: 8.864 MB / 0.846 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.9735, allocations: 264.7 kB / 0.8462 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.9738, allocations: 209.1 kB / 0.8464 GB, free: 119.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002476/0.9763, allocations: 0.9375 MB / 0.8474 GB, free: 118.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001759/0.978, allocations: 2.746 MB / 0.85 GB, free: 114.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002996/0.981, allocations: 3.093 MB / 0.8531 GB, free: 111.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.315e-05/0.9811, allocations: 9.094 kB / 0.8531 GB, free: 111.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=602) (initialization_lambda0): time 0.00463/0.9857, allocations: 3.388 MB / 0.8564 GB, free: 108.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.9857, allocations: 53.7 kB / 0.8564 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.9857, allocations: 39.98 kB / 0.8565 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.9869, allocations: 0.5408 MB / 0.857 GB, free: 107.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.99, allocations: 1.33 MB / 0.8583 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.9932, allocations: 9.38 MB / 0.8675 GB, free: 96.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.996, allocations: 273.8 kB / 0.8677 GB, free: 96.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.9963, allocations: 191.9 kB / 0.8679 GB, free: 96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 165 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.adsolair58.adsCon.onDelAdi.u,$PRE.adsolair58.adsCon.onDelAdi.t_next,adsolair58.adsCon.damPid.risingEdge.y,adsolair58.adsCon.damPid.risingEdge.u,$PRE.adsolair58.adsCon.damPid.risingEdge.u,$whenCondition3,adsolair58.booleanConstant.y,adsolair58.com.and2.y,adsolair58.com.hystMin.y,$PRE.adsolair58.com.hystMin.y,adsolair58.com.hystMax.y,$PRE.adsolair58.com.hystMax.y,adsolair58.com.onInt.u,adsolair58.adsCon.damMax.y,$PRE.adsolair58.adsCon.damMax.y,adsolair58.adsCon.chiPid.risingEdge.y,adsolair58.adsCon.chiPid.risingEdge.u,$PRE.adsolair58.adsCon.chiPid.risingEdge.u,adsolair58.adsCon.revAct.y,adsolair58.adsCon.onDelAdi.t_next,adsolair58.adsCon.onDelAdi.delaySignal,adsolair58.adsCon.onDelAdi.y,adsolair58.adsCon.onDelAdi.u,adsolair58.adsCon.onChiExp.y,$PRE.adsolair58.adsCon.onChiExp.y,adsolair58.adsCon.onAdiaExp.y,$PRE.adsolair58.adsCon.onAdiaExp.y,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (563): * Single equations (assignments): 547 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,2), (1,2), (1,4), (1,1), (1,1), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008184/0.9971, allocations: 0.5266 MB / 0.8684 GB, free: 95.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006211/0.9977, allocations: 0.5774 MB / 0.869 GB, free: 94.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/1.001, allocations: 2.723 MB / 0.8716 GB, free: 92.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.001, allocations: 32 kB / 0.8717 GB, free: 92.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.001, allocations: 7.984 kB / 0.8717 GB, free: 92.24 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8056:3-8056:171:writable] Error: Internal error Stack overflow in BackendDAEUtil.getSolvedSystem... [bt] #1 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeMMC.so(mmc_do_stackoverflow) [bt] #2 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionBasics.hashExp) [bt] #3 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(boxptr_ExpressionBasics_hashExp) [bt] #4 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so() [bt] #5 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BaseHashTable.get) [bt] #6...1023 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so() [bt] #1024 [...] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.715513584204018]