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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01039/0.01039, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8327/0.8327, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 223.2 MB / 406.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001003, allocations: 92.48 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 11.98 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5171, allocations: 82.31 MB / 0.6495 GB, free: 36.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.169/5.686, allocations: 1.901 GB / 2.551 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/5.686, allocations: 90.89 kB / 2.551 GB, free: 35.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.587/7.273, allocations: 326.2 MB / 2.87 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/7.273, allocations: 0 / 2.87 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002422/7.273, allocations: 51.91 kB / 2.87 GB, free: 157.6 MB / 0.6823 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.007933/7.281, allocations: 2.614 MB / 2.872 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/7.281, allocations: 11.59 kB / 2.872 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005842/7.282, allocations: 244.9 kB / 2.872 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/7.286, allocations: 0.5472 MB / 2.873 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004669/7.291, allocations: 2.194 MB / 2.875 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/7.291, allocations: 126.4 kB / 2.875 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/7.291, allocations: 165.7 kB / 2.875 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/7.294, allocations: 1.864 MB / 2.877 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/7.294, allocations: 0 / 2.877 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/7.295, allocations: 72.28 kB / 2.877 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/7.295, allocations: 38.72 kB / 2.877 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/7.298, allocations: 2.039 MB / 2.879 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/7.309, allocations: 6.211 MB / 2.885 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/7.312, allocations: 2.005 MB / 2.887 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/7.312, allocations: 426.7 kB / 2.888 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/7.314, allocations: 0.9326 MB / 2.889 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.486e-06/7.314, allocations: 0 / 2.889 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.006713/7.321, allocations: 2.887 MB / 2.891 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/7.321, allocations: 251.5 kB / 2.892 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/7.325, allocations: 2.454 MB / 2.894 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005265/7.326, allocations: 53.05 kB / 2.894 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/7.327, allocations: 0.8746 MB / 2.895 GB, free: 152 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007339/7.328, allocations: 454.4 kB / 2.895 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/7.328, allocations: 25.5 kB / 2.895 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001431/7.328, allocations: 349.6 kB / 2.896 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/7.329, allocations: 0.5477 MB / 2.896 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/7.33, allocations: 0.7643 MB / 2.897 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/7.332, allocations: 0.6225 MB / 2.898 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/7.332, allocations: 0 / 2.898 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004536/7.336, allocations: 1.712 MB / 2.899 GB, free: 151 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/7.336, allocations: 4.75 kB / 2.899 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/7.336, allocations: 3.344 kB / 2.899 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/7.337, allocations: 207 kB / 2.9 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/7.339, allocations: 313.4 kB / 2.9 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/7.344, allocations: 6.853 MB / 2.907 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/7.346, allocations: 169.2 kB / 2.907 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/7.346, allocations: 69.83 kB / 2.907 GB, free: 144.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (132): * Single equations (assignments): 127 * 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.0012/7.347, allocations: 478.4 kB / 2.907 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/7.347, allocations: 187.1 kB / 2.907 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/7.352, allocations: 2.144 MB / 2.91 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/7.352, allocations: 18.25 kB / 2.91 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/7.352, allocations: 3.469 kB / 2.91 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/7.352, allocations: 7.828 kB / 2.91 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00727/7.359, allocations: 4.262 MB / 2.914 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/7.359, allocations: 7.094 kB / 2.914 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/7.36, allocations: 325.2 kB / 2.914 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008844/7.361, allocations: 214.1 kB / 2.914 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/7.361, allocations: 47.09 kB / 2.914 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004239/7.366, allocations: 6.881 MB / 2.921 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/7.366, allocations: 1.031 kB / 2.921 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/7.37, allocations: 1.906 MB / 2.923 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/7.371, allocations: 0.6695 MB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/7.372, allocations: 30.36 kB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/7.373, allocations: 134.4 kB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/7.373, allocations: 114.4 kB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/7.373, allocations: 85.23 kB / 2.924 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002394/7.376, allocations: 1.943 MB / 2.926 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/7.376, allocations: 3 kB / 2.926 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002649/7.378, allocations: 0.8361 MB / 2.927 GB, free: 136.6 MB / 0.6823 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 (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.006689/7.385, allocations: 4.001 MB / 2.93 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003129/7.388, allocations: 1.926 MB / 2.932 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/7.388, allocations: 4.438 kB / 2.932 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/7.39, allocations: 1.351 MB / 2.934 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/7.393, allocations: 474.8 kB / 2.934 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/7.417, allocations: 15.38 MB / 2.949 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/7.418, allocations: 1.55 MB / 2.951 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002566/7.421, allocations: 0.6589 MB / 2.951 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/7.422, allocations: 0.9194 MB / 2.952 GB, free: 129 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/7.422, allocations: 0 / 2.952 GB, free: 129 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/7.526, allocations: 67.49 MB / 3.018 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/7.526, allocations: 250.7 kB / 3.018 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.169/12.69, allocations: 8 kB / 3.018 GB, free: 84.43 MB / 0.6823 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/linux/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)