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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.02112/0.02112, allocations: 170.2 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.549/1.549, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.944/2.944, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.001635/0.001635, allocations: 100.8 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006768/0.0006769, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.017, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.235/10.25, allocations: 1.901 GB / 2.551 GB, free: 74.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000504/10.25, allocations: 94.58 kB / 2.551 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.116/12.37, allocations: 326.3 MB / 2.87 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.133e-06/12.37, allocations: 0 / 2.87 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005235/12.37, allocations: 55.88 kB / 2.87 GB, free: 14.51 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.01447/12.38, allocations: 2.611 MB / 2.872 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001234/12.38, allocations: 8.031 kB / 2.872 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001914/12.39, allocations: 248.6 kB / 2.872 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007489/12.39, allocations: 0.555 MB / 2.873 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/12.4, allocations: 2.192 MB / 2.875 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/12.4, allocations: 123.3 kB / 2.875 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/12.41, allocations: 168 kB / 2.875 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008465/12.41, allocations: 1.865 MB / 2.877 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/12.41, allocations: 7.938 kB / 2.877 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/12.41, allocations: 76 kB / 2.877 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/12.41, allocations: 43.94 kB / 2.877 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005587/12.42, allocations: 2.034 MB / 2.879 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.069/13.49, allocations: 6.188 MB / 2.885 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/13.5, allocations: 2.006 MB / 2.887 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/13.5, allocations: 425.6 kB / 2.888 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005219/13.51, allocations: 0.9428 MB / 2.889 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 7.153e-06/13.51, allocations: 0 / 2.889 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.01665/13.52, allocations: 2.878 MB / 2.891 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002264/13.52, allocations: 250 kB / 2.892 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008839/13.53, allocations: 2.451 MB / 2.894 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009714/13.53, allocations: 56.17 kB / 2.894 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/13.53, allocations: 0.8766 MB / 2.895 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/13.54, allocations: 455.2 kB / 2.895 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/13.54, allocations: 24.53 kB / 2.895 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002007/13.54, allocations: 358.2 kB / 2.896 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/13.54, allocations: 0.5451 MB / 2.896 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/13.54, allocations: 0.7563 MB / 2.897 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/13.54, allocations: 0.6235 MB / 2.898 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/13.54, allocations: 0 / 2.898 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00969/13.55, allocations: 1.707 MB / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/13.55, allocations: 5.625 kB / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/13.55, allocations: 0.5 kB / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/13.56, allocations: 210.4 kB / 2.9 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/13.56, allocations: 321.1 kB / 2.9 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/13.57, allocations: 6.85 MB / 2.907 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/13.57, allocations: 169.8 kB / 2.907 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008747/13.58, allocations: 68.62 kB / 2.907 GB, free: 142.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.003713/13.58, allocations: 474.6 kB / 2.907 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002423/13.58, allocations: 186.8 kB / 2.907 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/13.59, allocations: 2.155 MB / 2.91 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/13.59, allocations: 14.28 kB / 2.91 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/13.59, allocations: 3.188 kB / 2.91 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-05/13.59, allocations: 11.45 kB / 2.91 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/13.62, allocations: 4.257 MB / 2.914 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/13.62, allocations: 0 / 2.914 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/13.62, allocations: 325.8 kB / 2.914 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/13.62, allocations: 212.5 kB / 2.914 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004182/13.62, allocations: 45.62 kB / 2.914 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/13.63, allocations: 6.888 MB / 2.921 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/13.63, allocations: 0 / 2.921 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/13.64, allocations: 1.909 MB / 2.923 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004658/13.65, allocations: 0.6763 MB / 2.924 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/13.65, allocations: 28.62 kB / 2.924 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004354/13.65, allocations: 136.1 kB / 2.924 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008788/13.65, allocations: 105.6 kB / 2.924 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008035/13.65, allocations: 85.5 kB / 2.924 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.007514/13.66, allocations: 1.949 MB / 2.926 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.814e-06/13.66, allocations: 0 / 2.926 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008196/13.67, allocations: 0.8234 MB / 2.927 GB, free: 134.8 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.01832/13.69, allocations: 4.006 MB / 2.93 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008241/13.7, allocations: 1.925 MB / 2.932 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-05/13.7, allocations: 4.5 kB / 2.932 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004916/13.7, allocations: 1.347 MB / 2.934 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006311/13.71, allocations: 471.7 kB / 2.934 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06491/13.77, allocations: 15.38 MB / 2.949 GB, free: 128 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/13.78, allocations: 1.546 MB / 2.951 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005776/13.78, allocations: 0.6683 MB / 2.951 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003567/13.79, allocations: 0.9175 MB / 2.952 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.876e-06/13.79, allocations: 0 / 2.952 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2678/14.05, allocations: 67.51 MB / 3.018 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004515/14.05, allocations: 261.7 kB / 3.018 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.869/22.92, allocations: 0 / 3.018 GB, free: 106.3 MB / 0.6823 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)