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.001629/0.00163, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001918/0.001918, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.358/2.358, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.717/1.717, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006105/0.0006107, allocations: 8.594 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2747, allocations: 82.31 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.994/1.269, allocations: 140.1 MB / 0.7241 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04027/1.309, allocations: 14.08 MB / 0.7379 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/1.312, allocations: 28.03 kB / 0.7379 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.315, allocations: 341.2 kB / 0.7382 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008469/1.324, allocations: 1.294 MB / 0.7395 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006894/1.331, allocations: 1.09 MB / 0.7405 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006864/1.337, allocations: 1.528 MB / 0.742 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006051/1.344, allocations: 1.458 MB / 0.7435 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004629/1.348, allocations: 0.8974 MB / 0.7443 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/1.351, allocations: 0.673 MB / 0.745 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009474/1.352, allocations: 48 kB / 0.745 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005993/1.358, allocations: 0.9818 MB / 0.746 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001825/1.36, allocations: 0.5452 MB / 0.7465 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/1.362, allocations: 408.4 kB / 0.7469 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008223/1.37, allocations: 2.544 MB / 0.7494 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.37, allocations: 0 / 0.7494 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.43e-06/1.37, allocations: 0 / 0.7494 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000219/1.37, allocations: 0 / 0.7494 GB, free: 6.371 MB / 0.5606 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.0113/1.382, allocations: 2.346 MB / 0.7517 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001098/1.382, allocations: 8.031 kB / 0.7517 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001701/1.384, allocations: 248.5 kB / 0.7519 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00752/1.391, allocations: 0.5667 MB / 0.7525 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/1.401, allocations: 3.289 MB / 0.7557 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/1.402, allocations: 128.7 kB / 0.7558 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009186/1.403, allocations: 164 kB / 0.756 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/1.411, allocations: 1.862 MB / 0.7578 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/1.411, allocations: 11.92 kB / 0.7578 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007194/1.412, allocations: 76 kB / 0.7579 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.209e-05/1.412, allocations: 43.95 kB / 0.7579 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007646/1.42, allocations: 2.073 MB / 0.7599 GB, free: 11.38 MB / 0.5762 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.02061/1.441, allocations: 6.244 MB / 0.766 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005577/1.446, allocations: 1.779 MB / 0.7678 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/1.447, allocations: 69.31 kB / 0.7678 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002905/1.45, allocations: 0.9504 MB / 0.7688 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=137): time 6.813e-06/1.45, allocations: 0 / 0.7688 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137): time 0.01021/1.46, allocations: 2.882 MB / 0.7716 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/1.46, allocations: 201.2 kB / 0.7718 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008626/1.469, allocations: 4.024 MB / 0.7757 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006247/1.47, allocations: 57.7 kB / 0.7758 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/1.471, allocations: 0.8708 MB / 0.7766 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.472, allocations: 461.2 kB / 0.7771 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.472, allocations: 20 kB / 0.7771 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002515/1.473, allocations: 353.9 kB / 0.7774 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.474, allocations: 0.553 MB / 0.7779 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.476, allocations: 0.7618 MB / 0.7787 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/1.478, allocations: 0.631 MB / 0.7793 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/1.478, allocations: 0 / 0.7793 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.006379/1.485, allocations: 1.717 MB / 0.781 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.485, allocations: 4 kB / 0.781 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.485, allocations: 0 / 0.781 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/1.486, allocations: 212.1 kB / 0.7812 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/1.489, allocations: 319.6 kB / 0.7815 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00927/1.498, allocations: 6.861 MB / 0.7882 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/1.502, allocations: 174.9 kB / 0.7884 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/1.502, allocations: 47.97 kB / 0.7884 GB, free: 13.01 MB / 0.6075 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002115/1.504, allocations: 480.2 kB / 0.7889 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.505, allocations: 181.8 kB / 0.789 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007685/1.513, allocations: 2.064 MB / 0.7911 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/1.513, allocations: 16 kB / 0.7911 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.338e-05/1.513, allocations: 0 / 0.7911 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.84e-05/1.513, allocations: 8.203 kB / 0.7911 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/1.529, allocations: 3.796 MB / 0.7948 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/1.529, allocations: 4 kB / 0.7948 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.531, allocations: 327.8 kB / 0.7951 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/1.533, allocations: 216.1 kB / 0.7953 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/1.533, allocations: 39.97 kB / 0.7953 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008395/1.542, allocations: 6.887 MB / 0.8021 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.542, allocations: 11.88 kB / 0.8021 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007748/1.549, allocations: 2.115 MB / 0.8042 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.552, allocations: 0.502 MB / 0.8046 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006133/1.552, allocations: 32 kB / 0.8047 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.555, allocations: 139.7 kB / 0.8048 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/1.555, allocations: 117 kB / 0.8049 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.555, allocations: 67.95 kB / 0.805 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005592/1.561, allocations: 3.084 MB / 0.808 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.212e-06/1.561, allocations: 0 / 0.808 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004222/1.565, allocations: 0.6392 MB / 0.8086 GB, free: 7.367 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01035/1.576, allocations: 3.834 MB / 0.8124 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005821/1.581, allocations: 1.987 MB / 0.8143 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.507e-05/1.581, allocations: 4.797 kB / 0.8143 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003419/1.585, allocations: 1.403 MB / 0.8157 GB, free: 132 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/1.59, allocations: 469.2 kB / 0.8161 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06474/1.655, allocations: 19.29 MB / 0.835 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/1.657, allocations: 1.552 MB / 0.8365 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003914/1.661, allocations: 0.5166 MB / 0.837 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.663, allocations: 0.8663 MB / 0.8378 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of SimCode: time 2.053e-06/1.663, allocations: 0 / 0.8378 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8154/2.479, allocations: 46.99 MB / 0.8837 GB, free: 211.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003893/2.479, allocations: 260 kB / 0.884 GB, free: 210.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.795/8.274, allocations: 3.562 kB / 0.884 GB, free: 210.9 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/linux/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) Environment - environmentSimulation: