Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007119/0.0007119, allocations: 80.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.0007566/0.0007566, allocations: 165.2 kB / 22.46 MB, free: 2.098 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.8376/0.8376, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6815/0.6815, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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: "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_AHU_Validation_AdsolairDatasheetSummer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_AHU_Validation_AdsolairDatasheetSummer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 4 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.404e-05, allocations: 5.234 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.AHU.Validation.AdsolairDatasheetSummer): time 0.8181/0.8181, allocations: 400.9 MB / 1.009 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.06009/0.8782, allocations: 67.64 MB / 1.076 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009125/0.8873, allocations: 384.2 kB / 1.076 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/0.898, allocations: 5.813 MB / 1.082 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.02683/0.9249, allocations: 15.34 MB / 1.097 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.9397, allocations: 9.421 MB / 1.106 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03303/0.9727, allocations: 37.88 MB / 1.143 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008446/0.9812, allocations: 6.318 MB / 1.149 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01885/1, allocations: 13.48 MB / 1.162 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008718/1.009, allocations: 5.911 MB / 1.168 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/1.011, allocations: 1.035 MB / 1.169 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01393/1.025, allocations: 9.464 MB / 1.178 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0027/1.027, allocations: 3.926 MB / 1.182 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004285/1.031, allocations: 3.773 MB / 1.186 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02183/1.053, allocations: 20.38 MB / 1.206 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.053, allocations: 0 / 1.206 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.673e-06/1.053, allocations: 0 / 1.206 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003979/1.054, allocations: 0 / 1.206 GB, free: 10.05 MB / 0.9167 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.01578/1.07, allocations: 12.45 MB / 1.218 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.07, allocations: 12.03 kB / 1.218 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006459/1.07, allocations: 0.7057 MB / 1.218 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009802/1.08, allocations: 3.312 MB / 1.222 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/1.091, allocations: 10.4 MB / 1.232 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00025/1.091, allocations: 481.6 kB / 1.232 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005659/1.092, allocations: 0.552 MB / 1.233 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009329/1.101, allocations: 9.029 MB / 1.242 GB, free: 4.789 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-05/1.101, allocations: 13.38 kB / 1.242 GB, free: 4.785 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/1.102, allocations: 226.8 kB / 1.242 GB, free: 4.566 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/1.102, allocations: 234.2 kB / 1.242 GB, free: 4.336 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008744/1.11, allocations: 6.661 MB / 1.249 GB, free: 13.71 MB / 0.9636 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.02852/1.139, allocations: 27.17 MB / 1.275 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007395/1.146, allocations: 5.552 MB / 1.281 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/1.15, allocations: 2.587 MB / 1.283 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/1.15, allocations: 155.8 kB / 1.283 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003989/1.154, allocations: 4.439 MB / 1.288 GB, free: 5.609 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002011/1.156, allocations: 418.1 kB / 1.288 GB, free: 5.203 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=346): time 5.28e-06/1.156, allocations: 0 / 1.288 GB, free: 5.203 MB / 0.9948 GB Notification: Performance of matching and sorting (n=351): time 0.0274/1.183, allocations: 20.98 MB / 1.308 GB, free: 8 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001512/1.185, allocations: 2.208 MB / 1.311 GB, free: 13.58 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009384/1.194, allocations: 9.622 MB / 1.32 GB, free: 4.008 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0007815/1.195, allocations: 117.7 kB / 1.32 GB, free: 3.887 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.002933/1.198, allocations: 4.213 MB / 1.324 GB, free: 15.67 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.199, allocations: 1.226 MB / 1.325 GB, free: 14.46 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/1.2, allocations: 0.9921 MB / 1.326 GB, free: 13.46 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/1.2, allocations: 305.1 kB / 1.327 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003673/1.204, allocations: 3.1 MB / 1.33 GB, free: 10.04 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/1.209, allocations: 5.335 MB / 1.335 GB, free: 3.914 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.217, allocations: 7.402 MB / 1.342 GB, free: 12.12 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/1.217, allocations: 11.94 kB / 1.342 GB, free: 12.11 MB / 1.057 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.01178/1.228, allocations: 8.811 MB / 1.351 GB, free: 3.473 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/1.228, allocations: 53.7 kB / 1.351 GB, free: 3.414 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/1.228, allocations: 39.94 kB / 1.351 GB, free: 3.375 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/1.229, allocations: 489.5 kB / 1.351 GB, free: 2.879 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.233, allocations: 1.209 MB / 1.352 GB, free: 1.734 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/1.239, allocations: 10.54 MB / 1.363 GB, free: 6.594 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/1.243, allocations: 415.6 kB / 1.363 GB, free: 6.188 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/1.243, allocations: 258.5 kB / 1.363 GB, free: 5.938 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006457/1.25, allocations: 4.907 MB / 1.368 GB, free: 1.012 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004295/1.254, allocations: 5.08 MB / 1.373 GB, free: 11.14 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007151/1.261, allocations: 6.904 MB / 1.38 GB, free: 3.84 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.504e-05/1.261, allocations: 8 kB / 1.38 GB, free: 3.832 MB / 1.089 GB Notification: Performance of matching and sorting (n=608) (initialization_lambda0): time 0.01037/1.271, allocations: 8.238 MB / 1.388 GB, free: 11.76 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/1.272, allocations: 53.69 kB / 1.388 GB, free: 11.7 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.109e-05/1.272, allocations: 40.16 kB / 1.388 GB, free: 11.66 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007786/1.272, allocations: 432.8 kB / 1.388 GB, free: 11.22 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/1.275, allocations: 1.201 MB / 1.39 GB, free: 10.09 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.432/1.707, allocations: 10.8 MB / 1.4 GB, free: 0.5156 GB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/1.713, allocations: 435.3 kB / 1.401 GB, free: 0.5156 GB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/1.713, allocations: 249.5 kB / 1.401 GB, free: 0.5156 GB / 1.104 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 (569): * Single equations (assignments): 553 * 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.001122/1.714, allocations: 0.5214 MB / 1.401 GB, free: 0.5154 GB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.715, allocations: 0.856 MB / 1.402 GB, free: 0.5154 GB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007913/1.723, allocations: 5.979 MB / 1.408 GB, free: 0.5151 GB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.723, allocations: 38.31 kB / 1.408 GB, free: 0.5151 GB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.723, allocations: 0 / 1.408 GB, free: 0.5151 GB / 1.104 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7737:3-7737:155: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/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReferenceBasics.hashComponentRef) [bt] #4 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ExpressionBasics.hashExp) [bt] #5 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(boxptr_ExpressionBasics_hashExp) [bt] #6 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BaseHashTable.hasKeyIndex) [bt] #7 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BaseHashTable.get) [bt] #8...1024 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEOptimize.semiLinearOptimize3) [bt] #1025 [...] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.386105142533779] Failed to read output from testmodel.py, exit status != 0: 2.1010997258126736 2.107929929 1.053061015 Calling exit ...