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.001228/0.001228, allocations: 104 kB / 16.35 MB, free: 5.824 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.001312/0.001312, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.345/1.345, allocations: 222.9 MB / 241 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.858/0.858, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3991, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.1785/0.5776, allocations: 166.9 MB / 0.7445 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.41/0.9877, allocations: 17.08 MB / 0.7612 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.9894, allocations: 31.28 kB / 0.7612 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.9911, allocations: 0.5208 MB / 0.7617 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.9963, allocations: 1.637 MB / 0.7633 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/1, allocations: 1.39 MB / 0.7647 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004134/1.004, allocations: 2.53 MB / 0.7672 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/1.007, allocations: 1.959 MB / 0.7691 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/1.011, allocations: 1.342 MB / 0.7704 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/1.012, allocations: 1.029 MB / 0.7714 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003457/1.013, allocations: 205.5 kB / 0.7716 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/1.016, allocations: 1.544 MB / 0.7731 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007663/1.017, allocations: 0.7647 MB / 0.7738 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/1.019, allocations: 1.128 MB / 0.7749 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004259/1.023, allocations: 3.402 MB / 0.7783 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.023, allocations: 1.844 kB / 0.7783 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/1.023, allocations: 4.094 kB / 0.7783 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.245e-05/1.023, allocations: 0 / 0.7783 GB, free: 0.7852 MB / 0.5762 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.004326/1.027, allocations: 2.614 MB / 0.7808 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.027, allocations: 11.66 kB / 0.7808 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/1.031, allocations: 0.5471 MB / 0.7814 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/1.033, allocations: 1.598 MB / 0.7829 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.1e-05/1.034, allocations: 130.2 kB / 0.783 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/1.034, allocations: 161 kB / 0.7832 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/1.037, allocations: 1.876 MB / 0.785 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/1.037, allocations: 0 / 0.785 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.037, allocations: 75.25 kB / 0.7851 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/1.037, allocations: 39.69 kB / 0.7851 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/1.04, allocations: 2.038 MB / 0.7871 GB, free: 14.71 MB / 0.5919 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.00888/1.049, allocations: 5.511 MB / 0.7925 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/1.052, allocations: 2.004 MB / 0.7945 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/1.053, allocations: 0.7281 MB / 0.7952 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006572/1.054, allocations: 429.8 kB / 0.7956 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/1.055, allocations: 0.9318 MB / 0.7965 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.276e-06/1.055, allocations: 0 / 0.7965 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006069/1.061, allocations: 2.824 MB / 0.7993 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.061, allocations: 198.4 kB / 0.7994 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/1.064, allocations: 1.738 MB / 0.8011 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.064, allocations: 58.33 kB / 0.8012 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/1.065, allocations: 0.8084 MB / 0.802 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/1.065, allocations: 463.5 kB / 0.8024 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/1.065, allocations: 239.2 kB / 0.8027 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.065, allocations: 354.8 kB / 0.803 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/1.066, allocations: 0.5593 MB / 0.8035 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/1.068, allocations: 0.7625 MB / 0.8043 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/1.07, allocations: 1.279 MB / 0.8055 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.07, allocations: 1.062 kB / 0.8055 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003656/1.073, allocations: 1.727 MB / 0.8072 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.073, allocations: 10.61 kB / 0.8072 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.073, allocations: 5.906 kB / 0.8072 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/1.075, allocations: 220.5 kB / 0.8074 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.076, allocations: 314.9 kB / 0.8077 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/1.083, allocations: 7.309 MB / 0.8149 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.084, allocations: 145.3 kB / 0.815 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/1.084, allocations: 59.42 kB / 0.8151 GB, free: 2.68 MB / 0.5919 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.0009542/1.085, allocations: 470.6 kB / 0.8155 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/1.086, allocations: 173.4 kB / 0.8157 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/1.09, allocations: 2.025 MB / 0.8177 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.09, allocations: 15 kB / 0.8177 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.09, allocations: 2.594 kB / 0.8177 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/1.09, allocations: 8.906 kB / 0.8177 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/1.097, allocations: 3.785 MB / 0.8214 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.097, allocations: 0 / 0.8214 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.099, allocations: 316 kB / 0.8217 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/1.1, allocations: 212.1 kB / 0.8219 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.1, allocations: 39.5 kB / 0.8219 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/1.106, allocations: 7.339 MB / 0.8291 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.106, allocations: 0 / 0.8291 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/1.11, allocations: 1.898 MB / 0.831 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.111, allocations: 454.3 kB / 0.8314 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/1.112, allocations: 28 kB / 0.8314 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.113, allocations: 93.91 kB / 0.8315 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/1.113, allocations: 101.2 kB / 0.8316 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.113, allocations: 67.95 kB / 0.8317 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001717/1.115, allocations: 1.248 MB / 0.8329 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/1.115, allocations: 4 kB / 0.8329 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001775/1.117, allocations: 0.6274 MB / 0.8335 GB, free: 3.348 MB / 0.6075 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.001807/1.118, allocations: 0.7468 MB / 0.8342 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003433/1.122, allocations: 2.012 MB / 0.8362 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.122, allocations: 4.797 kB / 0.8362 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/1.124, allocations: 1.369 MB / 0.8375 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.126, allocations: 0.5254 MB / 0.8381 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/1.133, allocations: 3.68 MB / 0.8416 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.134, allocations: 1.508 MB / 0.8431 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001775/1.136, allocations: 0.5002 MB / 0.8436 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/1.136, allocations: 163.4 kB / 0.8438 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of SimCode: time 1.001e-06/1.136, allocations: 4 kB / 0.8438 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of Templates: time 0.04833/1.185, allocations: 29.88 MB / 0.8729 GB, free: 11.51 MB / 0.6544 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)