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.005492/0.005492, allocations: 98.81 kB / 15.73 MB, free: 5.949 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.001206/0.001207, allocations: 197.1 kB / 16.68 MB, free: 5.875 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8919/0.8919, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.12 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1969, allocations: 80.92 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.6977/0.8946, allocations: 166.9 MB / 0.8276 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02263/0.9173, allocations: 17.1 MB / 0.8443 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.9195, allocations: 31.97 kB / 0.8444 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.9212, allocations: 0.5352 MB / 0.8449 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.9268, allocations: 1.68 MB / 0.8465 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.9315, allocations: 1.387 MB / 0.8479 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005796/0.9373, allocations: 2.527 MB / 0.8504 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003926/0.9412, allocations: 1.951 MB / 0.8523 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.9458, allocations: 1.404 MB / 0.8536 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.9477, allocations: 1.023 MB / 0.8546 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.948, allocations: 208.5 kB / 0.8548 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.9519, allocations: 1.545 MB / 0.8563 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.9526, allocations: 0.7599 MB / 0.8571 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.954, allocations: 1.131 MB / 0.8582 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005506/0.9595, allocations: 3.399 MB / 0.8615 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9595, allocations: 0 / 0.8615 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9595, allocations: 0 / 0.8615 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.758e-05/0.9596, allocations: 0 / 0.8615 GB, free: 5.789 MB / 0.6231 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.004556/0.9641, allocations: 2.618 MB / 0.8641 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.9642, allocations: 9.109 kB / 0.8641 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.9679, allocations: 0.5474 MB / 0.8646 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.9704, allocations: 1.595 MB / 0.8662 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.9706, allocations: 123.3 kB / 0.8663 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.9708, allocations: 171.9 kB / 0.8665 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.9741, allocations: 1.872 MB / 0.8683 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.9742, allocations: 4 kB / 0.8683 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.9743, allocations: 68 kB / 0.8684 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.9744, allocations: 40 kB / 0.8684 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/0.9777, allocations: 2.042 MB / 0.8704 GB, free: 12.52 MB / 0.6387 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.008955/0.9867, allocations: 5.504 MB / 0.8758 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.9898, allocations: 1.993 MB / 0.8777 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.9911, allocations: 0.7451 MB / 0.8784 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.9917, allocations: 425.7 kB / 0.8788 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/0.9934, allocations: 0.9349 MB / 0.8798 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.986e-06/0.9934, allocations: 0 / 0.8798 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006555/1, allocations: 2.821 MB / 0.8825 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1, allocations: 193.2 kB / 0.8827 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/1.003, allocations: 1.746 MB / 0.8844 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/1.003, allocations: 57.7 kB / 0.8845 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007209/1.004, allocations: 0.8034 MB / 0.8852 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004343/1.004, allocations: 465.2 kB / 0.8857 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/1.004, allocations: 238.8 kB / 0.8859 GB, free: 12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.005, allocations: 353.9 kB / 0.8862 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/1.006, allocations: 0.5647 MB / 0.8868 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/1.007, allocations: 0.7623 MB / 0.8875 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/1.009, allocations: 1.278 MB / 0.8888 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.009, allocations: 4 kB / 0.8888 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003968/1.013, allocations: 1.729 MB / 0.8905 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.013, allocations: 4 kB / 0.8905 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.013, allocations: 4 kB / 0.8905 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/1.014, allocations: 216.2 kB / 0.8907 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.016, allocations: 327.5 kB / 0.891 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006611/1.022, allocations: 7.304 MB / 0.8981 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.024, allocations: 150.9 kB / 0.8983 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/1.025, allocations: 51.95 kB / 0.8983 GB, free: 14.46 MB / 0.67 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.001386/1.026, allocations: 473.4 kB / 0.8988 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/1.027, allocations: 169.9 kB / 0.8989 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/1.032, allocations: 2.026 MB / 0.9009 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/1.032, allocations: 16 kB / 0.9009 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/1.032, allocations: 0 / 0.9009 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.032, allocations: 7.969 kB / 0.9009 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007946/1.04, allocations: 3.789 MB / 0.9046 GB, free: 7.871 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.04, allocations: 7.875 kB / 0.9047 GB, free: 7.863 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/1.041, allocations: 315.6 kB / 0.905 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009319/1.042, allocations: 204.1 kB / 0.9052 GB, free: 7.34 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/1.042, allocations: 47.91 kB / 0.9052 GB, free: 7.293 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/1.048, allocations: 7.339 MB / 0.9124 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.048, allocations: 4.031 kB / 0.9124 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/1.053, allocations: 1.887 MB / 0.9142 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.054, allocations: 454.3 kB / 0.9146 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/1.055, allocations: 31.98 kB / 0.9147 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/1.056, allocations: 89.45 kB / 0.9148 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.056, allocations: 105.2 kB / 0.9149 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.057, allocations: 67.94 kB / 0.9149 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002209/1.059, allocations: 1.244 MB / 0.9161 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.663e-06/1.059, allocations: 0 / 0.9161 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002332/1.061, allocations: 0.6391 MB / 0.9168 GB, free: 10.68 MB / 0.6856 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.002212/1.063, allocations: 0.7398 MB / 0.9175 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003938/1.067, allocations: 2.004 MB / 0.9194 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.067, allocations: 0.7969 kB / 0.9194 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/1.07, allocations: 1.375 MB / 0.9208 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.073, allocations: 0.5217 MB / 0.9213 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009223/1.083, allocations: 3.679 MB / 0.9249 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.084, allocations: 1.505 MB / 0.9264 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002193/1.087, allocations: 0.4923 MB / 0.9268 GB, free: 380 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/1.087, allocations: 163.4 kB / 0.927 GB, free: 216 kB / 0.6856 GB Notification: Performance of SimCode: time 1.442e-06/1.087, allocations: 0 / 0.927 GB, free: 216 kB / 0.6856 GB Notification: Performance of Templates: time 0.06209/1.149, allocations: 30.2 MB / 0.9565 GB, free: 2.258 MB / 0.7169 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)