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.004841/0.004841, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001069/0.001068, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8023/0.8023, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.25 kB / 0.5813 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1839, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.6672/0.8512, allocations: 166.9 MB / 0.8227 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.872, allocations: 17.1 MB / 0.8394 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.8738, allocations: 30.31 kB / 0.8394 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.8756, allocations: 0.541 MB / 0.8399 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.8818, allocations: 1.671 MB / 0.8416 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004874/0.8867, allocations: 1.4 MB / 0.8429 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004376/0.8911, allocations: 2.528 MB / 0.8454 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/0.8945, allocations: 1.952 MB / 0.8473 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/0.8988, allocations: 1.389 MB / 0.8487 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.9007, allocations: 1.023 MB / 0.8497 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006656/0.9014, allocations: 207.3 kB / 0.8499 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.9056, allocations: 1.54 MB / 0.8514 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.9072, allocations: 0.7612 MB / 0.8521 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003059/0.9102, allocations: 1.122 MB / 0.8532 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006898/0.9171, allocations: 3.41 MB / 0.8565 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9172, allocations: 3.094 kB / 0.8565 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9172, allocations: 0 / 0.8565 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001538/0.9173, allocations: 3.938 kB / 0.8565 GB, free: 2.086 MB / 0.6387 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.006268/0.9236, allocations: 2.613 MB / 0.8591 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9237, allocations: 10.44 kB / 0.8591 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/0.9275, allocations: 0.5527 MB / 0.8596 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.9297, allocations: 1.594 MB / 0.8612 GB, free: 220 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.9298, allocations: 125.9 kB / 0.8613 GB, free: 216 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.93, allocations: 161 kB / 0.8615 GB, free: 216 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.9328, allocations: 1.879 MB / 0.8633 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/0.9328, allocations: 1 kB / 0.8633 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.933, allocations: 71.97 kB / 0.8634 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.933, allocations: 41.41 kB / 0.8634 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.936, allocations: 2.041 MB / 0.8654 GB, free: 8 kB / 0.6387 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.007932/0.9439, allocations: 5.518 MB / 0.8708 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.947, allocations: 2 MB / 0.8727 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.9481, allocations: 0.73 MB / 0.8735 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.9487, allocations: 429.4 kB / 0.8739 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.9502, allocations: 0.9272 MB / 0.8748 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 3.306e-06/0.9502, allocations: 0 / 0.8748 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006357/0.9566, allocations: 2.827 MB / 0.8775 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.9568, allocations: 200.4 kB / 0.8777 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.9591, allocations: 1.741 MB / 0.8794 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.9593, allocations: 54.61 kB / 0.8795 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007012/0.96, allocations: 0.8024 MB / 0.8803 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.9604, allocations: 467.6 kB / 0.8807 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.9608, allocations: 238 kB / 0.8809 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.961, allocations: 352.4 kB / 0.8813 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009825/0.9619, allocations: 0.562 MB / 0.8818 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.9632, allocations: 0.7695 MB / 0.8826 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.9653, allocations: 1.282 MB / 0.8838 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.9654, allocations: 0 / 0.8838 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003844/0.9692, allocations: 1.735 MB / 0.8855 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9692, allocations: 4.406 kB / 0.8855 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9693, allocations: 5.188 kB / 0.8855 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.9703, allocations: 212.8 kB / 0.8857 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.9717, allocations: 314.9 kB / 0.886 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005783/0.9775, allocations: 7.308 MB / 0.8932 GB, free: 112 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.9789, allocations: 149 kB / 0.8933 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.9791, allocations: 58.86 kB / 0.8934 GB, free: 15.99 MB / 0.67 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.0009437/0.98, allocations: 464.9 kB / 0.8938 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.9804, allocations: 174.3 kB / 0.894 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.9844, allocations: 2.021 MB / 0.8959 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.9845, allocations: 16.44 kB / 0.896 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9845, allocations: 2.25 kB / 0.896 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.9845, allocations: 12.94 kB / 0.896 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006145/0.9906, allocations: 3.803 MB / 0.8997 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.9907, allocations: 1 kB / 0.8997 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.9921, allocations: 309.3 kB / 0.9 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008787/0.993, allocations: 207.1 kB / 0.9002 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.9931, allocations: 39.97 kB / 0.9002 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/0.9987, allocations: 7.338 MB / 0.9074 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9987, allocations: 3.984 kB / 0.9074 GB, free: 3.527 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/1.003, allocations: 1.892 MB / 0.9092 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007281/1.003, allocations: 450.4 kB / 0.9097 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/1.003, allocations: 28 kB / 0.9097 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.005, allocations: 94.48 kB / 0.9098 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/1.005, allocations: 101.1 kB / 0.9099 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/1.005, allocations: 67.95 kB / 0.9099 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001568/1.007, allocations: 1.252 MB / 0.9112 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/1.007, allocations: 0 / 0.9112 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001606/1.008, allocations: 0.6274 MB / 0.9118 GB, free: 14.99 MB / 0.6856 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.001622/1.01, allocations: 0.7601 MB / 0.9125 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003172/1.013, allocations: 2.004 MB / 0.9145 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.013, allocations: 4.797 kB / 0.9145 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.015, allocations: 1.373 MB / 0.9158 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.017, allocations: 0.5162 MB / 0.9163 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/1.024, allocations: 3.678 MB / 0.9199 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.025, allocations: 1.501 MB / 0.9214 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001684/1.027, allocations: 0.4924 MB / 0.9219 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.027, allocations: 163.4 kB / 0.922 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/1.027, allocations: 0 / 0.922 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of Templates: time 0.05169/1.079, allocations: 30.2 MB / 0.9515 GB, free: 6.863 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)