Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_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.001185/0.001184, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9563/0.9563, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 60.52 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1377, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.383/0.5207, allocations: 166.9 MB / 0.7475 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.5413, allocations: 17.12 MB / 0.7642 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.5429, allocations: 31.81 kB / 0.7642 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.5445, allocations: 0.5236 MB / 0.7648 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.5495, allocations: 1.644 MB / 0.7664 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.5529, allocations: 1.38 MB / 0.7677 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002781/0.5557, allocations: 2.537 MB / 0.7702 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.558, allocations: 1.959 MB / 0.7721 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.5614, allocations: 1.339 MB / 0.7734 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.5627, allocations: 1.035 MB / 0.7744 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.563, allocations: 208 kB / 0.7746 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.5659, allocations: 1.509 MB / 0.7761 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.5665, allocations: 0.7751 MB / 0.7769 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.5676, allocations: 1.185 MB / 0.778 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.5714, allocations: 3.485 MB / 0.7814 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5714, allocations: 0 / 0.7814 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5714, allocations: 0 / 0.7814 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.053e-05/0.5714, allocations: 0 / 0.7814 GB, free: 3.16 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.004393/0.5758, allocations: 2.787 MB / 0.7841 GB, free: 320 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5759, allocations: 12.03 kB / 0.7841 GB, free: 308 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002627/0.5762, allocations: 240.6 kB / 0.7844 GB, free: 56 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.5799, allocations: 0.5591 MB / 0.7849 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.5834, allocations: 3.363 MB / 0.7882 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.764e-05/0.5835, allocations: 123.3 kB / 0.7883 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.5837, allocations: 167.9 kB / 0.7885 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.5868, allocations: 1.888 MB / 0.7903 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.5868, allocations: 4 kB / 0.7903 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.587, allocations: 71.98 kB / 0.7904 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.587, allocations: 40 kB / 0.7904 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.5905, allocations: 2.065 MB / 0.7925 GB, free: 7.664 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.008731/0.5993, allocations: 6.245 MB / 0.7986 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.6025, allocations: 2.033 MB / 0.8005 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.6037, allocations: 0.7452 MB / 0.8013 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/0.6043, allocations: 433.5 kB / 0.8017 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.606, allocations: 0.9465 MB / 0.8026 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.955e-06/0.606, allocations: 3.938 kB / 0.8026 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006672/0.6127, allocations: 2.868 MB / 0.8054 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.6128, allocations: 193.2 kB / 0.8056 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/0.6171, allocations: 4.032 MB / 0.8095 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.6173, allocations: 53.7 kB / 0.8096 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.6179, allocations: 0.8747 MB / 0.8104 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.6183, allocations: 465.2 kB / 0.8109 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.6187, allocations: 226.8 kB / 0.8111 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6188, allocations: 353.9 kB / 0.8114 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.6199, allocations: 0.553 MB / 0.812 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.6212, allocations: 0.7735 MB / 0.8127 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.6235, allocations: 1.275 MB / 0.814 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6235, allocations: 0 / 0.814 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003818/0.6273, allocations: 1.721 MB / 0.8157 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6274, allocations: 4 kB / 0.8157 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6274, allocations: 4 kB / 0.8157 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.6285, allocations: 208.2 kB / 0.8159 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.6301, allocations: 315.5 kB / 0.8162 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.6356, allocations: 7.319 MB / 0.8233 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6371, allocations: 147 kB / 0.8234 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.6372, allocations: 55.97 kB / 0.8235 GB, free: 6.426 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: 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.0008877/0.6381, allocations: 480.6 kB / 0.824 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.6385, allocations: 185.7 kB / 0.8241 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004563/0.6431, allocations: 2.055 MB / 0.8261 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.6431, allocations: 16 kB / 0.8262 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6431, allocations: 0 / 0.8262 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.6432, allocations: 3.984 kB / 0.8262 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006608/0.6498, allocations: 3.963 MB / 0.83 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6498, allocations: 3.938 kB / 0.83 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.6513, allocations: 319.5 kB / 0.8303 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009038/0.6522, allocations: 200.1 kB / 0.8305 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6523, allocations: 31.97 kB / 0.8306 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005728/0.658, allocations: 7.364 MB / 0.8378 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6581, allocations: 4.062 kB / 0.8378 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.6621, allocations: 1.92 MB / 0.8396 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008626/0.663, allocations: 0.4906 MB / 0.8401 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.6633, allocations: 24 kB / 0.8401 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.6647, allocations: 103.9 kB / 0.8402 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.665, allocations: 105.2 kB / 0.8403 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.6651, allocations: 63.95 kB / 0.8404 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003415/0.6685, allocations: 3.1 MB / 0.8434 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6686, allocations: 4 kB / 0.8434 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001776/0.6703, allocations: 0.6469 MB / 0.8441 GB, free: 500 kB / 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.005999/0.6763, allocations: 3.117 MB / 0.8471 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004949/0.6813, allocations: 2.402 MB / 0.8494 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6813, allocations: 0.7969 kB / 0.8494 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.6835, allocations: 1.387 MB / 0.8508 GB, free: 9.617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6861, allocations: 0.5263 MB / 0.8513 GB, free: 9.113 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2451/0.9313, allocations: 22.15 MB / 0.8729 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/0.9321, allocations: 1.508 MB / 0.8744 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001828/0.9339, allocations: 0.5121 MB / 0.8749 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008906/0.9348, allocations: 0.8529 MB / 0.8758 GB, free: 210.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.12e-07/0.9348, allocations: 4.688 kB / 0.8758 GB, free: 210.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.134/4.069, allocations: 46.62 MB / 0.9213 GB, free: 199.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/22.54, allocations: 17.08 kB / 0.9213 GB, free: 199.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)