Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001395/0.001395, allocations: 105.7 kB / 16.37 MB, free: 6.48 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.001571/0.001571, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3804, allocations: 80.19 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1686/0.5491, allocations: 153.8 MB / 0.7317 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.5652, allocations: 10.41 MB / 0.7418 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.5662, allocations: 19.94 kB / 0.7418 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.5674, allocations: 269.8 kB / 0.7421 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.5708, allocations: 0.8847 MB / 0.743 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.5743, allocations: 1.042 MB / 0.744 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.5767, allocations: 1.507 MB / 0.7455 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.5788, allocations: 1.141 MB / 0.7466 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.5812, allocations: 0.6552 MB / 0.7472 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.5824, allocations: 0.5484 MB / 0.7477 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004783/0.5829, allocations: 127.9 kB / 0.7479 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.5858, allocations: 1.018 MB / 0.7489 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008038/0.5866, allocations: 347 kB / 0.7492 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.588, allocations: 0.6062 MB / 0.7498 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3969/0.9849, allocations: 2.054 MB / 0.7518 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.985, allocations: 0 / 0.7518 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.255e-06/0.985, allocations: 0 / 0.7518 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001015/0.9851, allocations: 0.9062 kB / 0.7518 GB, free: 6.352 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.00486/0.99, allocations: 1.594 MB / 0.7534 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.99, allocations: 9.156 kB / 0.7534 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.992, allocations: 257.6 kB / 0.7536 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.9941, allocations: 0.8736 MB / 0.7545 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.9942, allocations: 71.75 kB / 0.7545 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.9943, allocations: 86.38 kB / 0.7546 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.9964, allocations: 1.044 MB / 0.7556 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.9965, allocations: 0.9688 kB / 0.7556 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.9966, allocations: 42.38 kB / 0.7557 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.9966, allocations: 26.84 kB / 0.7557 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.9992, allocations: 1.269 MB / 0.7569 GB, free: 5.02 MB / 0.5762 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.005941/1.005, allocations: 3.041 MB / 0.7599 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/1.008, allocations: 1.009 MB / 0.7609 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/1.009, allocations: 400.5 kB / 0.7613 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/1.01, allocations: 137.3 kB / 0.7614 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/1.012, allocations: 0.5419 MB / 0.7619 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 4.298e-06/1.012, allocations: 1.531 kB / 0.7619 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.005558/1.017, allocations: 1.508 MB / 0.7634 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.017, allocations: 194.7 kB / 0.7636 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/1.019, allocations: 0.7599 MB / 0.7643 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/1.019, allocations: 45.08 kB / 0.7644 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/1.02, allocations: 439.3 kB / 0.7648 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/1.02, allocations: 287.5 kB / 0.7651 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004988/1.021, allocations: 172.5 kB / 0.7652 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/1.021, allocations: 339.1 kB / 0.7656 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/1.022, allocations: 319 kB / 0.7659 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.023, allocations: 442.8 kB / 0.7663 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/1.025, allocations: 0.7348 MB / 0.767 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.025, allocations: 0.5312 kB / 0.767 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003326/1.029, allocations: 1.002 MB / 0.768 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.029, allocations: 6.438 kB / 0.768 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.029, allocations: 1.125 kB / 0.768 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/1.03, allocations: 117.2 kB / 0.7681 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/1.031, allocations: 194.6 kB / 0.7683 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/1.034, allocations: 3.063 MB / 0.7713 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.035, allocations: 101.6 kB / 0.7714 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/1.035, allocations: 37.45 kB / 0.7714 GB, free: 15.33 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006282/1.036, allocations: 297.7 kB / 0.7717 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/1.036, allocations: 92.44 kB / 0.7718 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/1.038, allocations: 1.222 MB / 0.773 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.038, allocations: 10.12 kB / 0.773 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.038, allocations: 0 / 0.773 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.038, allocations: 6.438 kB / 0.773 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/1.042, allocations: 2.239 MB / 0.7752 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.042, allocations: 0 / 0.7752 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/1.043, allocations: 187.1 kB / 0.7754 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/1.044, allocations: 104.5 kB / 0.7755 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/1.044, allocations: 27.58 kB / 0.7755 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/1.047, allocations: 3.095 MB / 0.7785 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.047, allocations: 0 / 0.7785 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/1.049, allocations: 1.135 MB / 0.7796 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/1.049, allocations: 297.2 kB / 0.7799 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/1.05, allocations: 24.44 kB / 0.7799 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/1.05, allocations: 70.97 kB / 0.78 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/1.05, allocations: 67.33 kB / 0.7801 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/1.051, allocations: 40.41 kB / 0.7801 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006863/1.051, allocations: 0.5412 MB / 0.7806 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.051, allocations: 0 / 0.7806 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001274/1.053, allocations: 418.6 kB / 0.781 GB, free: 11.37 MB / 0.5919 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001663/1.054, allocations: 0.708 MB / 0.7817 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002029/1.056, allocations: 1.063 MB / 0.7827 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.056, allocations: 0 / 0.7827 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.057, allocations: 0.698 MB / 0.7834 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.059, allocations: 352.2 kB / 0.7838 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/1.063, allocations: 2.001 MB / 0.7857 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/1.064, allocations: 1.087 MB / 0.7868 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001054/1.065, allocations: 297.6 kB / 0.7871 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/1.065, allocations: 106.6 kB / 0.7872 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/1.065, allocations: 2.062 kB / 0.7872 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of Templates: time 0.03307/1.098, allocations: 18.5 MB / 0.8052 GB, free: 5.066 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)