Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006319/0.006319, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001339/0.001339, allocations: 191.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7692/0.7692, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 58.41 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1506, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5571/0.7077, allocations: 166.9 MB / 0.8227 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0224/0.7302, allocations: 17.09 MB / 0.8394 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.7321, allocations: 32.12 kB / 0.8394 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.7343, allocations: 0.5239 MB / 0.8399 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.7401, allocations: 1.643 MB / 0.8415 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003938/0.7441, allocations: 1.397 MB / 0.8429 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00333/0.7475, allocations: 2.522 MB / 0.8453 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.75, allocations: 1.946 MB / 0.8472 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.754, allocations: 1.348 MB / 0.8486 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.7557, allocations: 1.03 MB / 0.8496 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.756, allocations: 206 kB / 0.8498 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.7596, allocations: 1.545 MB / 0.8513 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.7603, allocations: 0.7596 MB / 0.852 GB, free: 56 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.7617, allocations: 1.128 MB / 0.8531 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.7677, allocations: 3.416 MB / 0.8565 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.7677, allocations: 0 / 0.8565 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7677, allocations: 0 / 0.8565 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.41e-05/0.7677, allocations: 0 / 0.8565 GB, free: 12.57 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004301/0.772, allocations: 2.693 MB / 0.8591 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7721, allocations: 12.03 kB / 0.8591 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/0.7755, allocations: 0.5644 MB / 0.8596 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.778, allocations: 1.604 MB / 0.8612 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.7781, allocations: 127.3 kB / 0.8613 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.7783, allocations: 167.9 kB / 0.8615 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.7816, allocations: 1.877 MB / 0.8633 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.7817, allocations: 3.938 kB / 0.8633 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.7818, allocations: 72 kB / 0.8634 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.7818, allocations: 40 kB / 0.8634 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.7851, allocations: 2.038 MB / 0.8654 GB, free: 3.195 MB / 0.6231 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.008022/0.7931, allocations: 5.514 MB / 0.8708 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.7961, allocations: 1.992 MB / 0.8728 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.7973, allocations: 0.7374 MB / 0.8735 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/0.7979, allocations: 433.7 kB / 0.8739 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/0.7995, allocations: 0.9348 MB / 0.8748 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 3.166e-06/0.7995, allocations: 0 / 0.8748 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006292/0.8058, allocations: 2.834 MB / 0.8776 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.806, allocations: 197.2 kB / 0.8778 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.8083, allocations: 1.746 MB / 0.8795 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.8084, allocations: 53.7 kB / 0.8795 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/0.8091, allocations: 0.8203 MB / 0.8803 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/0.8095, allocations: 479.9 kB / 0.8808 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.8099, allocations: 246.8 kB / 0.881 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8101, allocations: 357.9 kB / 0.8813 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009751/0.811, allocations: 0.553 MB / 0.8819 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.8122, allocations: 0.7662 MB / 0.8826 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.8144, allocations: 1.286 MB / 0.8839 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8144, allocations: 0 / 0.8839 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00361/0.818, allocations: 1.734 MB / 0.8856 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.8181, allocations: 4 kB / 0.8856 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.8181, allocations: 4 kB / 0.8856 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.8191, allocations: 224.1 kB / 0.8858 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.8205, allocations: 315.5 kB / 0.8861 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/0.8265, allocations: 7.314 MB / 0.8933 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.8284, allocations: 147.3 kB / 0.8934 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.8285, allocations: 47.97 kB / 0.8934 GB, free: 5.062 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.8295, allocations: 481.4 kB / 0.8939 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.83, allocations: 182.8 kB / 0.8941 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.8342, allocations: 2.038 MB / 0.8961 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.8343, allocations: 16 kB / 0.8961 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.8343, allocations: 0 / 0.8961 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.8343, allocations: 7.984 kB / 0.8961 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007957/0.8423, allocations: 3.794 MB / 0.8998 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8423, allocations: 0 / 0.8998 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.8437, allocations: 307.6 kB / 0.9001 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000928/0.8446, allocations: 216.1 kB / 0.9003 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.8448, allocations: 35.91 kB / 0.9003 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005808/0.8506, allocations: 7.355 MB / 0.9075 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8506, allocations: 3.938 kB / 0.9075 GB, free: 5.797 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004149/0.8548, allocations: 1.903 MB / 0.9094 GB, free: 3.859 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.8559, allocations: 459.3 kB / 0.9098 GB, free: 3.391 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/0.8563, allocations: 24 kB / 0.9098 GB, free: 3.367 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.8577, allocations: 96.78 kB / 0.9099 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.8579, allocations: 97.17 kB / 0.91 GB, free: 3.184 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.8581, allocations: 63.95 kB / 0.9101 GB, free: 3.121 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001951/0.8601, allocations: 1.252 MB / 0.9113 GB, free: 1.871 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8601, allocations: 0 / 0.9113 GB, free: 1.871 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002124/0.8622, allocations: 0.643 MB / 0.9119 GB, free: 1.227 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/0.8643, allocations: 0.7641 MB / 0.9127 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003441/0.8677, allocations: 1.992 MB / 0.9146 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8678, allocations: 0.7969 kB / 0.9146 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.8698, allocations: 1.383 MB / 0.916 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.8724, allocations: 0.509 MB / 0.9165 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008219/0.8807, allocations: 3.758 MB / 0.9201 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.8823, allocations: 1.501 MB / 0.9216 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001996/0.8843, allocations: 0.4962 MB / 0.9221 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.8849, allocations: 167.4 kB / 0.9222 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.8849, allocations: 0 / 0.9222 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of Templates: time 0.05417/0.9391, allocations: 30.18 MB / 0.9517 GB, free: 8.766 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)