Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00209/0.00209, allocations: 195.5 kB / 16.14 MB, free: 6.688 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7664/0.7664, allocations: 132.2 MB / 422.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.5 kB / 0.5011 GB, free: 9.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.161, allocations: 80.21 MB / 0.5794 GB, free: 9.27 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4776/0.6387, allocations: 164.7 MB / 0.7402 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02396/0.6627, allocations: 17.17 MB / 0.757 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.6651, allocations: 33.69 kB / 0.757 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.6669, allocations: 453.2 kB / 0.7575 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005348/0.6723, allocations: 1.462 MB / 0.7589 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.6761, allocations: 1.23 MB / 0.7601 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003771/0.6799, allocations: 2.791 MB / 0.7628 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.6825, allocations: 1.821 MB / 0.7646 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.6877, allocations: 1.221 MB / 0.7658 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.6892, allocations: 1.017 MB / 0.7668 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.6895, allocations: 116 kB / 0.7669 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.6928, allocations: 1.571 MB / 0.7684 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006834/0.6935, allocations: 0.6775 MB / 0.7691 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.695, allocations: 1.049 MB / 0.7701 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.6996, allocations: 3.326 MB / 0.7734 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6996, allocations: 0 / 0.7734 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6996, allocations: 0 / 0.7734 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.303e-05/0.6997, allocations: 4 kB / 0.7734 GB, free: 12.82 MB / 0.5919 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.004446/0.7041, allocations: 2.658 MB / 0.776 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7042, allocations: 8.031 kB / 0.776 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/0.7079, allocations: 0.5474 MB / 0.7765 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.7103, allocations: 1.57 MB / 0.778 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.7105, allocations: 131.2 kB / 0.7782 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.7107, allocations: 160 kB / 0.7783 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/0.7141, allocations: 1.892 MB / 0.7802 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.7141, allocations: 4 kB / 0.7802 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.7143, allocations: 68 kB / 0.7802 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.7143, allocations: 40 kB / 0.7803 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/0.7177, allocations: 2.065 MB / 0.7823 GB, free: 3.516 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.009204/0.727, allocations: 5.714 MB / 0.7879 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.7302, allocations: 2.031 MB / 0.7898 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.7315, allocations: 0.742 MB / 0.7906 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.7321, allocations: 433.7 kB / 0.791 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.7338, allocations: 0.9387 MB / 0.7919 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.176e-06/0.7339, allocations: 4 kB / 0.7919 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.007068/0.7409, allocations: 2.864 MB / 0.7947 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.7411, allocations: 193.2 kB / 0.7949 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.7442, allocations: 1.788 MB / 0.7966 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.7444, allocations: 57.7 kB / 0.7967 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.7454, allocations: 0.8232 MB / 0.7975 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004811/0.7459, allocations: 461.2 kB / 0.7979 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004981/0.7464, allocations: 246.8 kB / 0.7982 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7466, allocations: 349.9 kB / 0.7985 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7479, allocations: 0.5764 MB / 0.7991 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.7494, allocations: 0.774 MB / 0.7998 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.7522, allocations: 1.302 MB / 0.8011 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.7522, allocations: 0 / 0.8011 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004424/0.7566, allocations: 1.76 MB / 0.8028 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.7567, allocations: 4 kB / 0.8028 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7567, allocations: 8 kB / 0.8028 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.7579, allocations: 212 kB / 0.803 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.7596, allocations: 327.6 kB / 0.8033 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006624/0.7662, allocations: 6.795 MB / 0.81 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.7681, allocations: 174.9 kB / 0.8101 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/0.7684, allocations: 47.97 kB / 0.8102 GB, free: 5.531 MB / 0.6231 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.00125/0.7697, allocations: 486.9 kB / 0.8106 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/0.7703, allocations: 173.8 kB / 0.8108 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/0.7753, allocations: 2.049 MB / 0.8128 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.7754, allocations: 16 kB / 0.8128 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.7754, allocations: 8 kB / 0.8128 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.7754, allocations: 7.969 kB / 0.8128 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/0.7831, allocations: 3.828 MB / 0.8166 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7831, allocations: 0 / 0.8166 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.7846, allocations: 315.6 kB / 0.8169 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009642/0.7856, allocations: 212.1 kB / 0.8171 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.7857, allocations: 35.97 kB / 0.8171 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.7916, allocations: 6.832 MB / 0.8238 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7916, allocations: 0 / 0.8238 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004815/0.7965, allocations: 1.912 MB / 0.8257 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.7978, allocations: 458.3 kB / 0.8261 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005166/0.7983, allocations: 24 kB / 0.8261 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.7999, allocations: 123.7 kB / 0.8262 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.8002, allocations: 105.2 kB / 0.8263 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/0.8004, allocations: 67.95 kB / 0.8264 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002149/0.8026, allocations: 1.277 MB / 0.8277 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8026, allocations: 0 / 0.8277 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002178/0.8047, allocations: 0.6507 MB / 0.8283 GB, free: 2.133 MB / 0.6387 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.002129/0.8069, allocations: 0.743 MB / 0.829 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003881/0.8108, allocations: 2.02 MB / 0.831 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8108, allocations: 4.797 kB / 0.831 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.813, allocations: 1.372 MB / 0.8323 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.8158, allocations: 0.4922 MB / 0.8328 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009009/0.8248, allocations: 4.725 MB / 0.8374 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.8265, allocations: 1.513 MB / 0.8389 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002398/0.8289, allocations: 495.7 kB / 0.8394 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006205/0.8295, allocations: 163.4 kB / 0.8395 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of SimCode: time 1.403e-06/0.8295, allocations: 4 kB / 0.8395 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of Templates: time 0.3207/1.15, allocations: 29.08 MB / 0.8679 GB, free: 214.8 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)