Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 103.5 kB / 16.35 MB, free: 6.289 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.001093/0.001093, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7999/0.7999, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 0.5067 GB, free: 7.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1761/0.5044, allocations: 167 MB / 0.7488 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3401/0.8445, allocations: 17.11 MB / 0.7655 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.8458, allocations: 31.91 kB / 0.7655 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.8474, allocations: 0.5304 MB / 0.7661 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.8519, allocations: 1.641 MB / 0.7677 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.8556, allocations: 1.393 MB / 0.769 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003497/0.8591, allocations: 2.548 MB / 0.7715 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.8617, allocations: 1.955 MB / 0.7734 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.8653, allocations: 1.351 MB / 0.7747 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.8669, allocations: 1.036 MB / 0.7758 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004206/0.8673, allocations: 210.2 kB / 0.776 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.8704, allocations: 1.543 MB / 0.7775 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000568/0.871, allocations: 0.7617 MB / 0.7782 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.872, allocations: 1.14 MB / 0.7793 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.8757, allocations: 3.408 MB / 0.7826 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8758, allocations: 3.094 kB / 0.7826 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8758, allocations: 0 / 0.7826 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.912e-05/0.8758, allocations: 0.875 kB / 0.7826 GB, free: 0.5352 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004051/0.8799, allocations: 2.643 MB / 0.7852 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.8799, allocations: 9.453 kB / 0.7852 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/0.8835, allocations: 0.5499 MB / 0.7858 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.8856, allocations: 1.597 MB / 0.7873 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.8857, allocations: 128.9 kB / 0.7875 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.8859, allocations: 161.9 kB / 0.7876 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.8886, allocations: 1.887 MB / 0.7895 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.8887, allocations: 7.094 kB / 0.7895 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.8888, allocations: 72.06 kB / 0.7895 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.8889, allocations: 39.75 kB / 0.7896 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.8918, allocations: 2.065 MB / 0.7916 GB, free: 14.46 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.007873/0.8997, allocations: 5.663 MB / 0.7971 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.9025, allocations: 2.036 MB / 0.7991 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.9036, allocations: 0.7508 MB / 0.7998 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.9042, allocations: 431.6 kB / 0.8002 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.9057, allocations: 0.9362 MB / 0.8012 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 3.306e-06/0.9058, allocations: 1 kB / 0.8012 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006233/0.912, allocations: 2.855 MB / 0.804 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.9121, allocations: 198.9 kB / 0.8041 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.9144, allocations: 1.757 MB / 0.8059 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.9147, allocations: 57.89 kB / 0.8059 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006306/0.9153, allocations: 0.8165 MB / 0.8067 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.9157, allocations: 461.8 kB / 0.8072 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.9161, allocations: 238.6 kB / 0.8074 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.9163, allocations: 351.7 kB / 0.8077 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009637/0.9172, allocations: 0.5756 MB / 0.8083 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.9184, allocations: 0.7822 MB / 0.809 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.9206, allocations: 1.3 MB / 0.8103 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9206, allocations: 0 / 0.8103 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003759/0.9244, allocations: 1.755 MB / 0.812 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9244, allocations: 9.25 kB / 0.812 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9244, allocations: 0 / 0.812 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.9255, allocations: 212.5 kB / 0.8122 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.927, allocations: 322.5 kB / 0.8125 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006169/0.9332, allocations: 7.327 MB / 0.8197 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.9349, allocations: 161.2 kB / 0.8199 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.9351, allocations: 53.75 kB / 0.8199 GB, free: 1.176 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 (141): * Single equations (assignments): 136 * 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.001023/0.9361, allocations: 473.9 kB / 0.8204 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/0.9365, allocations: 169.5 kB / 0.8205 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.9407, allocations: 2.045 MB / 0.8225 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.9407, allocations: 17.22 kB / 0.8225 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9408, allocations: 0 / 0.8225 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.9408, allocations: 7.969 kB / 0.8225 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/0.9474, allocations: 3.832 MB / 0.8263 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.9474, allocations: 3.938 kB / 0.8263 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.9489, allocations: 314.1 kB / 0.8266 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008722/0.9498, allocations: 205.7 kB / 0.8268 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.9499, allocations: 39.97 kB / 0.8268 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/0.9559, allocations: 7.353 MB / 0.834 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9559, allocations: 0 / 0.834 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.9601, allocations: 1.913 MB / 0.8359 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.9612, allocations: 457.5 kB / 0.8363 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.9614, allocations: 28 kB / 0.8363 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.9625, allocations: 97.39 kB / 0.8364 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.9628, allocations: 101.2 kB / 0.8365 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.9629, allocations: 63.95 kB / 0.8366 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001576/0.9645, allocations: 1.265 MB / 0.8378 GB, free: 320 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9645, allocations: 0 / 0.8378 GB, free: 320 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001694/0.9662, allocations: 0.6391 MB / 0.8384 GB, free: 15.67 MB / 0.6231 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.001675/0.9679, allocations: 0.7422 MB / 0.8392 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.9715, allocations: 2.027 MB / 0.8411 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.9715, allocations: 0.7969 kB / 0.8411 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.9736, allocations: 1.388 MB / 0.8425 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.9759, allocations: 0.5197 MB / 0.843 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.9839, allocations: 3.843 MB / 0.8468 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.985, allocations: 1.505 MB / 0.8482 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001716/0.9867, allocations: 484.4 kB / 0.8487 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.9872, allocations: 163.4 kB / 0.8488 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.9872, allocations: 7.938 kB / 0.8489 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of Templates: time 0.05034/1.038, allocations: 30.16 MB / 0.8783 GB, free: 7.328 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)