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.000836/0.000836, 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.007763/0.007763, allocations: 169 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9039/0.9039, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002875, allocations: 9.156 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 82.31 MB / 0.5881 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3797/0.5223, allocations: 162.5 MB / 0.7467 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.54, allocations: 16.93 MB / 0.7632 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009369/0.541, allocations: 32.41 kB / 0.7633 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.5421, allocations: 452.2 kB / 0.7637 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.5457, allocations: 1.468 MB / 0.7651 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.5483, allocations: 1.228 MB / 0.7663 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.5507, allocations: 2.794 MB / 0.7691 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.5524, allocations: 1.685 MB / 0.7707 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.5562, allocations: 1.037 MB / 0.7717 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000799/0.557, allocations: 0.8279 MB / 0.7725 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.5571, allocations: 44 kB / 0.7726 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.5592, allocations: 1.509 MB / 0.7741 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.5597, allocations: 0.5759 MB / 0.7746 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007253/0.5604, allocations: 0.976 MB / 0.7756 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.5631, allocations: 3.348 MB / 0.7788 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5631, allocations: 0 / 0.7788 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5631, allocations: 0 / 0.7788 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.5631, allocations: 0 / 0.7788 GB, free: 8.953 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.003167/0.5663, allocations: 2.332 MB / 0.7811 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5663, allocations: 15.97 kB / 0.7811 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.5666, allocations: 240.6 kB / 0.7814 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.5698, allocations: 0.5629 MB / 0.7819 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.573, allocations: 3.366 MB / 0.7852 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.5731, allocations: 123.3 kB / 0.7853 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.5733, allocations: 163.9 kB / 0.7855 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.5761, allocations: 1.901 MB / 0.7873 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.5762, allocations: 0 / 0.7873 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.5763, allocations: 68 kB / 0.7874 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.5764, allocations: 40.05 kB / 0.7874 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.5795, allocations: 2.089 MB / 0.7895 GB, free: 13.88 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.007647/0.5872, allocations: 6.276 MB / 0.7956 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.59, allocations: 2.044 MB / 0.7976 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.5912, allocations: 0.753 MB / 0.7983 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.5917, allocations: 433.7 kB / 0.7987 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002084/0.5938, allocations: 0.9582 MB / 0.7997 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.015e-06/0.5938, allocations: 0 / 0.7997 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006426/0.6002, allocations: 2.903 MB / 0.8025 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.6003, allocations: 197.2 kB / 0.8027 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.6041, allocations: 4.031 MB / 0.8066 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.6043, allocations: 53.7 kB / 0.8067 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.6049, allocations: 0.8747 MB / 0.8075 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.6052, allocations: 461.2 kB / 0.808 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.6053, allocations: 93.66 kB / 0.8081 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6055, allocations: 353.9 kB / 0.8084 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.6065, allocations: 0.5608 MB / 0.809 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.6076, allocations: 0.7813 MB / 0.8097 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.6098, allocations: 1.298 MB / 0.811 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6098, allocations: 0 / 0.811 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003437/0.6133, allocations: 1.733 MB / 0.8127 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.6133, allocations: 12.06 kB / 0.8127 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6133, allocations: 0 / 0.8127 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.6143, allocations: 212.1 kB / 0.8129 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.6158, allocations: 315.6 kB / 0.8132 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/0.6212, allocations: 6.815 MB / 0.8199 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.6226, allocations: 174.9 kB / 0.82 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/0.6227, allocations: 51.91 kB / 0.8201 GB, free: 13.14 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.0007945/0.6235, allocations: 479.8 kB / 0.8205 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.6237, allocations: 185.8 kB / 0.8207 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.6281, allocations: 2.082 MB / 0.8227 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6281, allocations: 12 kB / 0.8227 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6282, allocations: 4 kB / 0.8228 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6282, allocations: 3.984 kB / 0.8228 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/0.6344, allocations: 3.972 MB / 0.8266 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6345, allocations: 0 / 0.8266 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.6359, allocations: 323.6 kB / 0.8269 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009405/0.6368, allocations: 216 kB / 0.8272 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.6369, allocations: 39.97 kB / 0.8272 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/0.6427, allocations: 6.84 MB / 0.8339 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6427, allocations: 0 / 0.8339 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.6465, allocations: 1.948 MB / 0.8358 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007473/0.6473, allocations: 0.506 MB / 0.8363 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.6475, allocations: 27.94 kB / 0.8363 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6488, allocations: 147.8 kB / 0.8364 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.649, allocations: 101.2 kB / 0.8365 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.6491, allocations: 67.89 kB / 0.8366 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003279/0.6524, allocations: 3.107 MB / 0.8396 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6524, allocations: 0 / 0.8396 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001516/0.6539, allocations: 0.6392 MB / 0.8403 GB, free: 7.625 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.005471/0.6594, allocations: 3.136 MB / 0.8433 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003188/0.6626, allocations: 2.016 MB / 0.8453 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6626, allocations: 4.797 kB / 0.8453 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.6647, allocations: 1.399 MB / 0.8467 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.6669, allocations: 0.4888 MB / 0.8471 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2556/0.9225, allocations: 23 MB / 0.8696 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/0.9233, allocations: 1.506 MB / 0.8711 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001707/0.9251, allocations: 0.515 MB / 0.8716 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000971/0.926, allocations: 0.8509 MB / 0.8724 GB, free: 209.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.192e-06/0.926, allocations: 0 / 0.8724 GB, free: 209.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.547/1.473, allocations: 44.29 MB / 0.9156 GB, free: 200.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.473, allocations: 287.2 kB / 0.9159 GB, free: 200.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/4.73, allocations: 0 / 0.9159 GB, free: 200.1 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)