Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 274.5 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9451/0.9451, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 11.53 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4075/0.5431, allocations: 139.6 MB / 0.8208 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.5538, allocations: 9.744 MB / 0.8304 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000735/0.5546, allocations: 18.88 kB / 0.8304 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.5552, allocations: 197.7 kB / 0.8306 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.5572, allocations: 0.7408 MB / 0.8313 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.5594, allocations: 0.8238 MB / 0.8321 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.5607, allocations: 1.484 MB / 0.8335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.5618, allocations: 0.8795 MB / 0.8344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/0.5625, allocations: 0.5121 MB / 0.8349 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.563, allocations: 468 kB / 0.8353 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.5631, allocations: 32.44 kB / 0.8354 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.5645, allocations: 0.7861 MB / 0.8361 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.5648, allocations: 249.5 kB / 0.8364 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.565, allocations: 236.7 kB / 0.8366 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5664, allocations: 1.546 MB / 0.8381 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5664, allocations: 2.312 kB / 0.8381 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5664, allocations: 0 / 0.8381 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.5665, allocations: 0 / 0.8381 GB, free: 9.488 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002351/0.5688, allocations: 1.463 MB / 0.8395 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5689, allocations: 10.72 kB / 0.8396 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.5703, allocations: 280.9 kB / 0.8398 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5715, allocations: 0.848 MB / 0.8406 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.5715, allocations: 78.14 kB / 0.8407 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.5716, allocations: 91.03 kB / 0.8408 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.5734, allocations: 1.109 MB / 0.8419 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.5734, allocations: 3.938 kB / 0.8419 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.5735, allocations: 44.17 kB / 0.8419 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.5736, allocations: 24.62 kB / 0.842 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.5756, allocations: 1.329 MB / 0.8433 GB, free: 6.137 MB / 0.5606 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.004495/0.5801, allocations: 3.253 MB / 0.8464 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.582, allocations: 1.114 MB / 0.8475 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.5827, allocations: 424 kB / 0.8479 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.5829, allocations: 145.5 kB / 0.8481 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.5839, allocations: 0.6168 MB / 0.8487 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 2.494e-06/0.584, allocations: 0 / 0.8487 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.003688/0.5877, allocations: 1.661 MB / 0.8503 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.5878, allocations: 191.7 kB / 0.8505 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008675/0.5886, allocations: 0.8011 MB / 0.8513 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.542e-05/0.5887, allocations: 49.3 kB / 0.8513 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.589, allocations: 462.5 kB / 0.8517 GB, free: 308 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.5893, allocations: 313.4 kB / 0.852 GB, free: 28 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.5893, allocations: 15.25 kB / 0.8521 GB, free: 16 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5895, allocations: 348.4 kB / 0.8524 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.5901, allocations: 356.5 kB / 0.8527 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.5909, allocations: 486.1 kB / 0.8532 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.5917, allocations: 403.9 kB / 0.8536 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5917, allocations: 0 / 0.8536 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002187/0.5939, allocations: 1.106 MB / 0.8547 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5939, allocations: 5.812 kB / 0.8547 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5939, allocations: 0 / 0.8547 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.5946, allocations: 119.4 kB / 0.8548 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/0.5955, allocations: 210.8 kB / 0.855 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.5984, allocations: 2.848 MB / 0.8578 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.5992, allocations: 135.1 kB / 0.8579 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.5993, allocations: 44.56 kB / 0.8579 GB, free: 11.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004389/0.5998, allocations: 304.5 kB / 0.8582 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5999, allocations: 100 kB / 0.8583 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.6027, allocations: 1.348 MB / 0.8596 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6027, allocations: 11.34 kB / 0.8596 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.6027, allocations: 3.938 kB / 0.8596 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.6027, allocations: 7.922 kB / 0.8597 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.6064, allocations: 2.448 MB / 0.862 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6064, allocations: 0 / 0.862 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/0.6073, allocations: 199.6 kB / 0.8622 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.6078, allocations: 111.6 kB / 0.8623 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.6079, allocations: 26.8 kB / 0.8624 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/0.6104, allocations: 2.873 MB / 0.8652 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6104, allocations: 3.938 kB / 0.8652 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.6128, allocations: 1.246 MB / 0.8664 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.6132, allocations: 327.4 kB / 0.8667 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.6134, allocations: 27.94 kB / 0.8667 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007971/0.6142, allocations: 103.8 kB / 0.8668 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.6143, allocations: 76.88 kB / 0.8669 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.6144, allocations: 47.97 kB / 0.867 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006934/0.6151, allocations: 0.5615 MB / 0.8675 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6151, allocations: 4 kB / 0.8675 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001118/0.6163, allocations: 439.2 kB / 0.8679 GB, free: 3.309 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/0.6178, allocations: 0.7215 MB / 0.8686 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.6199, allocations: 1.15 MB / 0.8698 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6199, allocations: 0 / 0.8698 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.6211, allocations: 0.7527 MB / 0.8705 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.6224, allocations: 309.6 kB / 0.8708 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.6269, allocations: 2.65 MB / 0.8734 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.6275, allocations: 1.103 MB / 0.8744 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001029/0.6285, allocations: 311.6 kB / 0.8747 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.6288, allocations: 119.4 kB / 0.8749 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.6289, allocations: 0 / 0.8749 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.02847/0.6573, allocations: 18.16 MB / 0.8926 GB, free: 10.35 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)