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.004251/0.004255, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001214/0.001214, allocations: 197.7 kB / 16.68 MB, free: 5.977 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.981/0.981, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.91 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3602, allocations: 81.02 MB / 0.6649 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1875/0.5477, allocations: 167 MB / 0.8279 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.5694, allocations: 17.12 MB / 0.8446 GB, free: 8.164 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.5704, allocations: 27.81 kB / 0.8447 GB, free: 8.137 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.5718, allocations: 0.5313 MB / 0.8452 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.5758, allocations: 1.641 MB / 0.8468 GB, free: 5.957 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.5789, allocations: 1.392 MB / 0.8481 GB, free: 4.578 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.5816, allocations: 2.553 MB / 0.8506 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.5838, allocations: 1.963 MB / 0.8526 GB, free: 12 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.5873, allocations: 1.353 MB / 0.8539 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.5885, allocations: 1.019 MB / 0.8549 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.5888, allocations: 216 kB / 0.8551 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.5916, allocations: 1.54 MB / 0.8566 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006879/0.5923, allocations: 0.7751 MB / 0.8573 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.5934, allocations: 1.185 MB / 0.8585 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.5975, allocations: 3.566 MB / 0.862 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5975, allocations: 0 / 0.862 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5975, allocations: 0 / 0.862 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.5975, allocations: 0 / 0.862 GB, free: 6.379 MB / 0.6856 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.004356/0.6019, allocations: 2.879 MB / 0.8648 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6019, allocations: 12.03 kB / 0.8648 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002833/0.6022, allocations: 236.6 kB / 0.865 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.6058, allocations: 0.5799 MB / 0.8656 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2837/0.8895, allocations: 3.401 MB / 0.8689 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.8896, allocations: 127.6 kB / 0.869 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.8898, allocations: 166.9 kB / 0.8692 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/0.8931, allocations: 1.89 MB / 0.871 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.8931, allocations: 1.312 kB / 0.871 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.8933, allocations: 76.89 kB / 0.8711 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.8933, allocations: 40 kB / 0.8712 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003571/0.8969, allocations: 2.064 MB / 0.8732 GB, free: 189.2 MB / 0.6856 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.007863/0.9048, allocations: 6.202 MB / 0.8792 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.9076, allocations: 2.029 MB / 0.8812 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.9087, allocations: 0.7441 MB / 0.8819 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/0.9091, allocations: 433.5 kB / 0.8823 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.9106, allocations: 0.9402 MB / 0.8833 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.955e-06/0.9106, allocations: 0 / 0.8833 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.005868/0.9165, allocations: 2.877 MB / 0.8861 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.9165, allocations: 204 kB / 0.8863 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/0.9202, allocations: 4.027 MB / 0.8902 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.9203, allocations: 55.52 kB / 0.8903 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.9209, allocations: 0.8861 MB / 0.8911 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.9211, allocations: 479.5 kB / 0.8916 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.9215, allocations: 224.5 kB / 0.8918 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.9215, allocations: 351.6 kB / 0.8921 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/0.9225, allocations: 0.5523 MB / 0.8927 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.9236, allocations: 0.7756 MB / 0.8934 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.9257, allocations: 1.283 MB / 0.8947 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9257, allocations: 1.156 kB / 0.8947 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003363/0.9291, allocations: 1.726 MB / 0.8964 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9291, allocations: 5.5 kB / 0.8964 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9291, allocations: 0 / 0.8964 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000967/0.9301, allocations: 206.7 kB / 0.8966 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.9315, allocations: 319.8 kB / 0.8969 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/0.9355, allocations: 7.314 MB / 0.904 GB, free: 168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.9368, allocations: 161.6 kB / 0.9042 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.9369, allocations: 49.8 kB / 0.9042 GB, free: 167.9 MB / 0.6856 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.0008269/0.9378, allocations: 480.7 kB / 0.9047 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.9381, allocations: 192.4 kB / 0.9049 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.942, allocations: 2.061 MB / 0.9069 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.942, allocations: 15.81 kB / 0.9069 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.942, allocations: 0 / 0.9069 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.9421, allocations: 7.969 kB / 0.9069 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005246/0.9473, allocations: 3.946 MB / 0.9107 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9473, allocations: 4 kB / 0.9107 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.9486, allocations: 316.8 kB / 0.911 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007882/0.9494, allocations: 201.2 kB / 0.9112 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.11e-05/0.9495, allocations: 35.14 kB / 0.9113 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/0.9532, allocations: 7.366 MB / 0.9185 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9533, allocations: 0 / 0.9185 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.9565, allocations: 1.94 MB / 0.9204 GB, free: 154.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/0.9571, allocations: 0.4992 MB / 0.9209 GB, free: 153.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.9573, allocations: 31.92 kB / 0.9209 GB, free: 153.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.9584, allocations: 105 kB / 0.921 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.9586, allocations: 97.17 kB / 0.9211 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.9587, allocations: 63.95 kB / 0.9211 GB, free: 153.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002115/0.9609, allocations: 3.104 MB / 0.9242 GB, free: 150.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9609, allocations: 0 / 0.9242 GB, free: 150.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001338/0.9622, allocations: 0.6546 MB / 0.9248 GB, free: 149.9 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.005236/0.9674, allocations: 3.124 MB / 0.9279 GB, free: 146.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.9701, allocations: 1.997 MB / 0.9298 GB, free: 144.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9701, allocations: 8.312 kB / 0.9298 GB, free: 144.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.9717, allocations: 1.376 MB / 0.9312 GB, free: 143.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.9736, allocations: 0.5286 MB / 0.9317 GB, free: 142.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/0.9953, allocations: 20.74 MB / 0.9519 GB, free: 121.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.996, allocations: 1.513 MB / 0.9534 GB, free: 120.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001405/0.9975, allocations: 0.5165 MB / 0.9539 GB, free: 119.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008493/0.9983, allocations: 0.8468 MB / 0.9547 GB, free: 119 MB / 0.6856 GB Notification: Performance of SimCode: time 9.22e-07/0.9983, allocations: 4 kB / 0.9547 GB, free: 119 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.568/1.566, allocations: 47.06 MB / 1.001 GB, free: 72.43 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.68, allocations: 7.938 kB / 1.001 GB, free: 72.42 MB / 0.6856 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)