Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001172/0.001172, allocations: 199.8 kB / 16.14 MB, free: 6.797 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.244/1.244, 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.6854/0.6854, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 62.53 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1325, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3751/0.5076, allocations: 164.7 MB / 0.7403 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.5255, allocations: 17.17 MB / 0.7571 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.5265, allocations: 27.28 kB / 0.7571 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.5278, allocations: 457 kB / 0.7575 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.5312, allocations: 1.467 MB / 0.759 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.5338, allocations: 1.226 MB / 0.7601 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.5359, allocations: 2.795 MB / 0.7629 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.5376, allocations: 1.824 MB / 0.7647 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.5416, allocations: 1.208 MB / 0.7658 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008844/0.5425, allocations: 1.015 MB / 0.7668 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.5427, allocations: 116 kB / 0.7669 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.545, allocations: 1.579 MB / 0.7685 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005032/0.5456, allocations: 0.6736 MB / 0.7691 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008214/0.5464, allocations: 1.095 MB / 0.7702 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.5493, allocations: 3.442 MB / 0.7736 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.5493, allocations: 0 / 0.7736 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5493, allocations: 0 / 0.7736 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.5493, allocations: 3.938 kB / 0.7736 GB, free: 12.59 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.003811/0.5531, allocations: 2.795 MB / 0.7763 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.5532, allocations: 12.03 kB / 0.7763 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.5534, allocations: 241.4 kB / 0.7765 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.5569, allocations: 0.5668 MB / 0.7771 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.56, allocations: 3.359 MB / 0.7804 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/0.5601, allocations: 123.3 kB / 0.7805 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.5603, allocations: 163.9 kB / 0.7807 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.5631, allocations: 1.896 MB / 0.7825 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5632, allocations: 0 / 0.7825 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.5633, allocations: 68 kB / 0.7826 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.5634, allocations: 40 kB / 0.7826 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/0.5666, allocations: 2.066 MB / 0.7846 GB, free: 1.09 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.007488/0.5741, allocations: 6.225 MB / 0.7907 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.5769, allocations: 2.039 MB / 0.7927 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.5781, allocations: 0.742 MB / 0.7934 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/0.5786, allocations: 429.7 kB / 0.7938 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/0.5801, allocations: 0.9426 MB / 0.7948 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.845e-06/0.5801, allocations: 0 / 0.7948 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.005902/0.586, allocations: 2.864 MB / 0.7975 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.5861, allocations: 197.2 kB / 0.7977 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/0.5897, allocations: 4.031 MB / 0.8017 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.5899, allocations: 53.7 kB / 0.8017 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.5905, allocations: 0.8824 MB / 0.8026 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.5908, allocations: 457.2 kB / 0.803 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.5911, allocations: 226.8 kB / 0.8032 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5912, allocations: 357.9 kB / 0.8036 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/0.5922, allocations: 0.5491 MB / 0.8041 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.5934, allocations: 0.7735 MB / 0.8049 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.5955, allocations: 1.278 MB / 0.8061 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5956, allocations: 3.938 kB / 0.8061 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003347/0.5989, allocations: 1.717 MB / 0.8078 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5989, allocations: 4 kB / 0.8078 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5989, allocations: 4 kB / 0.8078 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009785/0.5999, allocations: 212.1 kB / 0.808 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.6014, allocations: 311.6 kB / 0.8083 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/0.6064, allocations: 6.804 MB / 0.815 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.6075, allocations: 169.1 kB / 0.8151 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/0.6076, allocations: 47.91 kB / 0.8152 GB, free: 416 kB / 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: 6 (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 (133): * Single equations (assignments): 128 * 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.0006317/0.6082, allocations: 480.3 kB / 0.8156 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.6085, allocations: 181.8 kB / 0.8158 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/0.6126, allocations: 2.065 MB / 0.8178 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.6126, allocations: 12 kB / 0.8178 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6126, allocations: 8 kB / 0.8178 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.6126, allocations: 7.969 kB / 0.8178 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005737/0.6184, allocations: 3.947 MB / 0.8217 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6184, allocations: 0 / 0.8217 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.6198, allocations: 315.5 kB / 0.822 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/0.6206, allocations: 216 kB / 0.8222 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/0.6207, allocations: 35.98 kB / 0.8222 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/0.6256, allocations: 6.84 MB / 0.8289 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6256, allocations: 3.984 kB / 0.8289 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/0.629, allocations: 1.92 MB / 0.8308 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/0.6296, allocations: 498.2 kB / 0.8313 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.6298, allocations: 31.94 kB / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.631, allocations: 119.7 kB / 0.8314 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.6312, allocations: 105.2 kB / 0.8315 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.6313, allocations: 64.02 kB / 0.8316 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002697/0.634, allocations: 3.1 MB / 0.8346 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6341, allocations: 4 kB / 0.8346 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001353/0.6354, allocations: 0.6469 MB / 0.8352 GB, free: 11 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.005118/0.6405, allocations: 3.121 MB / 0.8383 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.6434, allocations: 1.992 MB / 0.8402 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.6434, allocations: 4.797 kB / 0.8402 GB, free: 6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.6452, allocations: 1.379 MB / 0.8416 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.6471, allocations: 498 kB / 0.8421 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2234/0.8705, allocations: 22.91 MB / 0.8644 GB, free: 219.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.8712, allocations: 1.508 MB / 0.8659 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001677/0.8729, allocations: 0.5105 MB / 0.8664 GB, free: 218.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008724/0.8738, allocations: 0.8461 MB / 0.8672 GB, free: 218.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.8738, allocations: 2.875 kB / 0.8672 GB, free: 218.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.244/2.117, allocations: 45.26 MB / 0.9114 GB, free: 208.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/2.118, allocations: 284 kB / 0.9117 GB, free: 208.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.412/5.529, allocations: 0.9688 kB / 0.9117 GB, free: 208.5 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)