Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001351/0.001352, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001476/0.001476, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.2 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 69.81 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1867, allocations: 80.93 MB / 0.5839 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4984/0.6852, allocations: 164.6 MB / 0.7447 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02375/0.709, allocations: 16.92 MB / 0.7612 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.7105, allocations: 27.81 kB / 0.7612 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.7125, allocations: 453.3 kB / 0.7617 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005402/0.718, allocations: 1.509 MB / 0.7632 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.7225, allocations: 1.252 MB / 0.7644 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003991/0.7265, allocations: 2.521 MB / 0.7668 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00375/0.7302, allocations: 1.952 MB / 0.7687 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.7358, allocations: 1.352 MB / 0.7701 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.7373, allocations: 1.064 MB / 0.7711 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005411/0.7379, allocations: 208 kB / 0.7713 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.741, allocations: 1.54 MB / 0.7728 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007496/0.7418, allocations: 0.7673 MB / 0.7736 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.7434, allocations: 1.123 MB / 0.7747 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004878/0.7483, allocations: 3.404 MB / 0.778 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.7483, allocations: 0 / 0.778 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7483, allocations: 0 / 0.778 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.953e-05/0.7484, allocations: 0 / 0.778 GB, free: 6.539 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004054/0.7524, allocations: 2.625 MB / 0.7805 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.7525, allocations: 8.031 kB / 0.7805 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.7562, allocations: 0.5474 MB / 0.7811 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.7584, allocations: 1.556 MB / 0.7826 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.7585, allocations: 127.3 kB / 0.7827 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.7587, allocations: 167.9 kB / 0.7829 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.7619, allocations: 1.876 MB / 0.7847 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.762, allocations: 0.875 kB / 0.7847 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.7621, allocations: 76 kB / 0.7848 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.7622, allocations: 40 kB / 0.7848 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.7654, allocations: 2.038 MB / 0.7868 GB, free: 13.31 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.008309/0.7737, allocations: 5.562 MB / 0.7922 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.7768, allocations: 2.004 MB / 0.7942 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.778, allocations: 0.7278 MB / 0.7949 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.7786, allocations: 429.7 kB / 0.7953 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.7803, allocations: 0.9334 MB / 0.7962 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.835e-06/0.7803, allocations: 3.938 kB / 0.7962 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006478/0.7868, allocations: 2.825 MB / 0.799 GB, free: 296 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7869, allocations: 197.2 kB / 0.7992 GB, free: 52 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.7895, allocations: 1.746 MB / 0.8009 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003125/0.7898, allocations: 57.7 kB / 0.8009 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007664/0.7906, allocations: 0.8034 MB / 0.8017 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000593/0.7912, allocations: 461.3 kB / 0.8022 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/0.7917, allocations: 242.7 kB / 0.8024 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7918, allocations: 353.9 kB / 0.8027 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.7929, allocations: 0.5569 MB / 0.8033 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.7943, allocations: 0.7584 MB / 0.804 GB, free: 11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.7967, allocations: 1.286 MB / 0.8053 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7967, allocations: 0 / 0.8053 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003962/0.8007, allocations: 1.721 MB / 0.807 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8007, allocations: 6.188 kB / 0.807 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8008, allocations: 4.094 kB / 0.807 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.8019, allocations: 220.1 kB / 0.8072 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.8035, allocations: 315.6 kB / 0.8075 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006432/0.81, allocations: 7.319 MB / 0.8146 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.8117, allocations: 158.4 kB / 0.8148 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.8119, allocations: 55.95 kB / 0.8148 GB, free: 15.18 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.001113/0.8131, allocations: 473.4 kB / 0.8153 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/0.8136, allocations: 173.8 kB / 0.8155 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/0.818, allocations: 2.03 MB / 0.8174 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.8181, allocations: 16 kB / 0.8175 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.8181, allocations: 0 / 0.8175 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.8181, allocations: 7.969 kB / 0.8175 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007233/0.8253, allocations: 3.798 MB / 0.8212 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.8254, allocations: 4 kB / 0.8212 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.8269, allocations: 307.6 kB / 0.8215 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009154/0.8278, allocations: 204.1 kB / 0.8217 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.8279, allocations: 43.97 kB / 0.8217 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006025/0.834, allocations: 7.341 MB / 0.8289 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.834, allocations: 3.938 kB / 0.8289 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.8381, allocations: 1.892 MB / 0.8307 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008701/0.839, allocations: 458.3 kB / 0.8312 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.8393, allocations: 27.94 kB / 0.8312 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.8406, allocations: 113.8 kB / 0.8313 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.8409, allocations: 101.2 kB / 0.8314 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.841, allocations: 67.94 kB / 0.8315 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00169/0.8427, allocations: 1.248 MB / 0.8327 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8428, allocations: 0 / 0.8327 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001682/0.8445, allocations: 0.6351 MB / 0.8333 GB, free: 11.38 MB / 0.6544 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.001783/0.8462, allocations: 0.7354 MB / 0.834 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005074/0.8513, allocations: 2.423 MB / 0.8364 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8514, allocations: 0.7969 kB / 0.8364 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.8534, allocations: 1.383 MB / 0.8377 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.856, allocations: 0.5117 MB / 0.8382 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.8637, allocations: 4.547 MB / 0.8427 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.865, allocations: 1.505 MB / 0.8441 GB, free: 320 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002067/0.8671, allocations: 0.4964 MB / 0.8446 GB, free: 15.81 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.8676, allocations: 167.3 kB / 0.8448 GB, free: 15.65 MB / 0.67 GB Notification: Performance of SimCode: time 4.41e-07/0.8676, allocations: 0 / 0.8448 GB, free: 15.65 MB / 0.67 GB Notification: Performance of Templates: time 0.3131/1.181, allocations: 29.81 MB / 0.8739 GB, free: 215.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)