Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.749/1.749, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000979/0.0009789, allocations: 174.9 kB / 393.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000779/0.0007789, allocations: 94.61 kB / 0.7935 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003362, allocations: 10.06 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5393, allocations: 121.3 MB / 1.041 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1582/0.6975, allocations: 164.4 MB / 1.201 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.7182, allocations: 19.3 MB / 1.22 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.7198, allocations: 27.81 kB / 1.22 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.7216, allocations: 0.4901 MB / 1.221 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.7257, allocations: 1.303 MB / 1.222 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.73, allocations: 1.463 MB / 1.223 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004362/0.7343, allocations: 3.05 MB / 1.226 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.7368, allocations: 1.566 MB / 1.228 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/0.7419, allocations: 1.048 MB / 1.229 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.7433, allocations: 0.797 MB / 1.23 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.7435, allocations: 44 kB / 1.23 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.7468, allocations: 1.308 MB / 1.231 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.7473, allocations: 373.1 kB / 1.231 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008799/0.7482, allocations: 0.7704 MB / 1.232 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.7516, allocations: 2.69 MB / 1.235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7516, allocations: 0 / 1.235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7516, allocations: 0 / 1.235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.7516, allocations: 4 kB / 1.235 GB, free: 13.3 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002967/0.7546, allocations: 1.799 MB / 1.237 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7547, allocations: 15.95 kB / 1.237 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.7575, allocations: 465.2 kB / 1.237 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.759, allocations: 1.066 MB / 1.238 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.7591, allocations: 115.1 kB / 1.238 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.7594, allocations: 152 kB / 1.238 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.7622, allocations: 1.717 MB / 1.24 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.7623, allocations: 0 / 1.24 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.7624, allocations: 68 kB / 1.24 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/0.7625, allocations: 51.88 kB / 1.24 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.7654, allocations: 1.713 MB / 1.242 GB, free: 5.969 MB / 0.8073 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.007495/0.7729, allocations: 5.761 MB / 1.247 GB, free: 15.92 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.7752, allocations: 1.457 MB / 1.249 GB, free: 14.39 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/0.7762, allocations: 0.5387 MB / 1.249 GB, free: 13.85 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/0.777, allocations: 0.8828 MB / 1.25 GB, free: 12.78 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.7783, allocations: 0.7231 MB / 1.251 GB, free: 12.04 MB / 0.823 GB Notification: Performance of pre-optimization done (n=117): time 2.705e-06/0.7783, allocations: 0 / 1.251 GB, free: 12.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=117): time 0.004316/0.7826, allocations: 1.766 MB / 1.253 GB, free: 10.25 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.7827, allocations: 196.9 kB / 1.253 GB, free: 10.01 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.7839, allocations: 0.9377 MB / 1.254 GB, free: 9.055 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.784, allocations: 49.7 kB / 1.254 GB, free: 9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.7845, allocations: 0.6368 MB / 1.254 GB, free: 8.355 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.7848, allocations: 398.2 kB / 1.255 GB, free: 7.961 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.7848, allocations: 20 kB / 1.255 GB, free: 7.941 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.785, allocations: 349.9 kB / 1.255 GB, free: 7.594 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/0.7858, allocations: 414.4 kB / 1.256 GB, free: 7.188 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/0.7867, allocations: 0.5668 MB / 1.256 GB, free: 6.582 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.7885, allocations: 0.9877 MB / 1.257 GB, free: 5.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7885, allocations: 0 / 1.257 GB, free: 5.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002777/0.7913, allocations: 1.266 MB / 1.258 GB, free: 4.293 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.7913, allocations: 4 kB / 1.258 GB, free: 4.289 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7914, allocations: 4 kB / 1.258 GB, free: 4.285 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.792, allocations: 84.92 kB / 1.258 GB, free: 4.199 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.7932, allocations: 275.6 kB / 1.259 GB, free: 3.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.7953, allocations: 1.536 MB / 1.26 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.7966, allocations: 161 kB / 1.26 GB, free: 2.098 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.814e-05/0.7967, allocations: 43.97 kB / 1.26 GB, free: 2.055 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007621/0.7975, allocations: 374.5 kB / 1.261 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.7977, allocations: 130.4 kB / 1.261 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.8008, allocations: 1.519 MB / 1.262 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.8008, allocations: 16 kB / 1.262 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8008, allocations: 3.938 kB / 1.262 GB, free: 0 / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.8008, allocations: 4.047 kB / 1.262 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.8057, allocations: 2.977 MB / 1.265 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.8057, allocations: 4 kB / 1.265 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.8069, allocations: 263.7 kB / 1.266 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/0.8074, allocations: 88.77 kB / 1.266 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/0.8075, allocations: 27.98 kB / 1.266 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.8094, allocations: 1.559 MB / 1.267 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8094, allocations: 0 / 1.267 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/0.8132, allocations: 2.036 MB / 1.269 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/0.814, allocations: 391.1 kB / 1.27 GB, free: 8.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.8142, allocations: 24 kB / 1.27 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.8154, allocations: 115.9 kB / 1.27 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.8156, allocations: 89.17 kB / 1.27 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.8158, allocations: 55.95 kB / 1.27 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001001/0.8168, allocations: 0.6474 MB / 1.27 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8168, allocations: 3.938 kB / 1.27 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001397/0.8182, allocations: 0.5103 MB / 1.271 GB, free: 6.977 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/0.8199, allocations: 0.7863 MB / 1.272 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002405/0.8223, allocations: 1.193 MB / 1.273 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.8223, allocations: 8.609 kB / 1.273 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.8236, allocations: 0.705 MB / 1.274 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.8259, allocations: 0.5168 MB / 1.274 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/0.8321, allocations: 3.675 MB / 1.278 GB, free: 216 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009196/0.833, allocations: 1.28 MB / 1.279 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001772/0.8348, allocations: 422.1 kB / 1.279 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.8352, allocations: 147.4 kB / 1.279 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/0.8352, allocations: 0 / 1.279 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.03946/0.8747, allocations: 24.04 MB / 1.303 GB, free: 6.566 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)