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.0008755/0.0008757, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005838/0.005838, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 9.469 kB / 0.504 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.5881, allocations: 81.58 MB / 0.5837 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.2136/0.8018, allocations: 162.4 MB / 0.7423 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02752/0.8294, allocations: 16.92 MB / 0.7588 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.8311, allocations: 27.81 kB / 0.7588 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.8327, allocations: 449.2 kB / 0.7593 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.8374, allocations: 1.464 MB / 0.7607 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.8405, allocations: 1.221 MB / 0.7619 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.8435, allocations: 2.771 MB / 0.7646 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.8458, allocations: 1.686 MB / 0.7662 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.8502, allocations: 1.039 MB / 0.7673 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.8514, allocations: 0.8239 MB / 0.7681 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.8516, allocations: 44 kB / 0.7681 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.8545, allocations: 1.513 MB / 0.7696 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005099/0.855, allocations: 0.5565 MB / 0.7701 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008345/0.8558, allocations: 0.9255 MB / 0.771 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.8593, allocations: 3.212 MB / 0.7742 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.8593, allocations: 3.938 kB / 0.7742 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8593, allocations: 0 / 0.7742 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.735e-05/0.8593, allocations: 0 / 0.7742 GB, free: 12.78 MB / 0.6075 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.00347/0.8628, allocations: 2.171 MB / 0.7763 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.8629, allocations: 8.031 kB / 0.7763 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.8664, allocations: 0.5591 MB / 0.7768 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.8686, allocations: 1.56 MB / 0.7784 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.8688, allocations: 127.3 kB / 0.7785 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.869, allocations: 167.9 kB / 0.7786 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.8723, allocations: 1.872 MB / 0.7805 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.8723, allocations: 4 kB / 0.7805 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.8725, allocations: 76 kB / 0.7805 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.8725, allocations: 40 kB / 0.7806 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.8759, allocations: 2.05 MB / 0.7826 GB, free: 3.973 MB / 0.6075 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.008908/0.8848, allocations: 5.581 MB / 0.788 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.8879, allocations: 2.008 MB / 0.79 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.8892, allocations: 0.738 MB / 0.7907 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.8898, allocations: 433.7 kB / 0.7911 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.8914, allocations: 0.9348 MB / 0.792 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.935e-06/0.8914, allocations: 0 / 0.792 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006538/0.898, allocations: 2.852 MB / 0.7948 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.8981, allocations: 197.2 kB / 0.795 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.9007, allocations: 1.738 MB / 0.7967 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/0.901, allocations: 53.7 kB / 0.7968 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009138/0.9019, allocations: 0.8073 MB / 0.7976 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/0.9026, allocations: 465.3 kB / 0.798 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.9028, allocations: 97.66 kB / 0.7981 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.9031, allocations: 353.9 kB / 0.7984 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.9043, allocations: 0.5647 MB / 0.799 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.9056, allocations: 0.7724 MB / 0.7997 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.9079, allocations: 1.286 MB / 0.801 GB, free: 428 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.9079, allocations: 0 / 0.801 GB, free: 428 kB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003919/0.9118, allocations: 1.737 MB / 0.8027 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.9119, allocations: 4 kB / 0.8027 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.9119, allocations: 8.094 kB / 0.8027 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.9131, allocations: 216 kB / 0.8029 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.9146, allocations: 319.6 kB / 0.8032 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006175/0.9208, allocations: 6.799 MB / 0.8098 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.9225, allocations: 171.7 kB / 0.81 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.9227, allocations: 55.95 kB / 0.8101 GB, free: 6.418 MB / 0.6387 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.0009824/0.9237, allocations: 465.4 kB / 0.8105 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.924, allocations: 177.9 kB / 0.8107 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.9283, allocations: 2.03 MB / 0.8127 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.9283, allocations: 19.94 kB / 0.8127 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9283, allocations: 0 / 0.8127 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.9283, allocations: 7.969 kB / 0.8127 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3265/1.255, allocations: 3.804 MB / 0.8164 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.255, allocations: 0.5 kB / 0.8164 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/1.257, allocations: 314.8 kB / 0.8167 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/1.258, allocations: 218.6 kB / 0.8169 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/1.258, allocations: 40.41 kB / 0.817 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/1.263, allocations: 6.833 MB / 0.8236 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.263, allocations: 3.938 kB / 0.8236 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/1.268, allocations: 1.9 MB / 0.8255 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009492/1.269, allocations: 471.3 kB / 0.8259 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/1.269, allocations: 23.09 kB / 0.826 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.27, allocations: 129.9 kB / 0.8261 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/1.271, allocations: 103.3 kB / 0.8262 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/1.271, allocations: 68.47 kB / 0.8262 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002043/1.273, allocations: 1.251 MB / 0.8275 GB, free: 208 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.01e-07/1.273, allocations: 0 / 0.8275 GB, free: 208 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002133/1.275, allocations: 0.6307 MB / 0.8281 GB, free: 207.9 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.001859/1.277, allocations: 0.7364 MB / 0.8288 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.28, allocations: 2.011 MB / 0.8308 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.28, allocations: 6.188 kB / 0.8308 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/1.282, allocations: 1.378 MB / 0.8321 GB, free: 206 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/1.285, allocations: 0.491 MB / 0.8326 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/1.293, allocations: 4.609 MB / 0.8371 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/1.295, allocations: 1.502 MB / 0.8386 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002219/1.297, allocations: 0.4902 MB / 0.839 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/1.297, allocations: 168.2 kB / 0.8392 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.82e-07/1.297, allocations: 0 / 0.8392 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.05025/1.348, allocations: 28.56 MB / 0.8671 GB, free: 182.6 MB / 0.6387 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)