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.002386/0.002386, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8823/0.8823, allocations: 133.6 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.000864/0.0008641, allocations: 103.3 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.716e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5238, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/5.245, allocations: 1.901 GB / 2.535 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/5.245, allocations: 87.08 kB / 2.535 GB, free: 95.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.127/6.372, allocations: 322.5 MB / 2.85 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/6.372, allocations: 0 / 2.85 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002642/6.373, allocations: 51.94 kB / 2.85 GB, free: 53.05 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.005566/6.378, allocations: 2.12 MB / 2.852 GB, free: 50.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/6.378, allocations: 8.031 kB / 2.852 GB, free: 50.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/6.382, allocations: 0.5589 MB / 2.852 GB, free: 50.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/6.386, allocations: 2.169 MB / 2.854 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/6.387, allocations: 56 kB / 2.854 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/6.387, allocations: 100 kB / 2.855 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003037/6.39, allocations: 1.818 MB / 2.856 GB, free: 46.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/6.392, allocations: 1.55 MB / 2.858 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/6.392, allocations: 0 / 2.858 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/6.392, allocations: 7.938 kB / 2.858 GB, free: 44.51 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/6.393, allocations: 44 kB / 2.858 GB, free: 44.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009183/6.402, allocations: 5.891 MB / 2.864 GB, free: 38.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/6.404, allocations: 1.805 MB / 2.865 GB, free: 36.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/6.404, allocations: 0.6244 MB / 2.866 GB, free: 35.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005439/6.405, allocations: 425.7 kB / 2.866 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/6.406, allocations: 0.8425 MB / 2.867 GB, free: 34.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.106e-06/6.406, allocations: 0 / 2.867 GB, free: 34.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003313/6.409, allocations: 1.545 MB / 2.869 GB, free: 32.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/6.41, allocations: 252.6 kB / 2.869 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/6.412, allocations: 2.257 MB / 2.871 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/6.412, allocations: 29.7 kB / 2.871 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/6.413, allocations: 0.8777 MB / 2.872 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/6.413, allocations: 441.3 kB / 2.872 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/6.413, allocations: 4 kB / 2.872 GB, free: 29.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001327/6.413, allocations: 345.9 kB / 2.873 GB, free: 28.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/6.414, allocations: 470.4 kB / 2.873 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/6.415, allocations: 0.6631 MB / 2.874 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/6.415, allocations: 0.5627 MB / 2.874 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/6.415, allocations: 0 / 2.874 GB, free: 26.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002751/6.418, allocations: 1.495 MB / 2.876 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/6.418, allocations: 7.984 kB / 2.876 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/6.418, allocations: 0 / 2.876 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009294/6.419, allocations: 204.2 kB / 2.876 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/6.421, allocations: 311.6 kB / 2.876 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/6.425, allocations: 6.538 MB / 2.883 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/6.426, allocations: 131.2 kB / 2.883 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/6.427, allocations: 67.95 kB / 2.883 GB, free: 17.56 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 () * 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.0003709/6.427, allocations: 126.7 kB / 2.883 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002962/6.43, allocations: 1.506 MB / 2.885 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/6.43, allocations: 177.8 kB / 2.885 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/6.434, allocations: 1.913 MB / 2.887 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/6.434, allocations: 12 kB / 2.887 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/6.434, allocations: 7.984 kB / 2.887 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/6.434, allocations: 7.969 kB / 2.887 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/6.44, allocations: 3.826 MB / 2.89 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/6.44, allocations: 0 / 2.89 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/6.442, allocations: 335.5 kB / 2.891 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008285/6.443, allocations: 204.1 kB / 2.891 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/6.443, allocations: 27.97 kB / 2.891 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/6.446, allocations: 6.554 MB / 2.897 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/6.446, allocations: 3.938 kB / 2.897 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/6.45, allocations: 1.701 MB / 2.899 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5296/6.979, allocations: 0.6571 MB / 2.9 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008255/6.98, allocations: 1.656 kB / 2.9 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/6.982, allocations: 109.8 kB / 2.9 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003947/6.982, allocations: 110.7 kB / 2.9 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/6.982, allocations: 82.58 kB / 2.9 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003572/6.986, allocations: 1.766 MB / 2.902 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/6.986, allocations: 0 / 2.902 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004137/6.99, allocations: 0.7545 MB / 2.902 GB, free: 158.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) * 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.008377/6.999, allocations: 3.858 MB / 2.906 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002898/7.002, allocations: 1.715 MB / 2.908 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/7.002, allocations: 4.375 kB / 2.908 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/7.003, allocations: 1.232 MB / 2.909 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/7.006, allocations: 423.8 kB / 2.909 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/7.017, allocations: 3.34 MB / 2.913 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/7.02, allocations: 1.559 MB / 2.914 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003354/7.023, allocations: 0.6534 MB / 2.915 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/7.025, allocations: 0.9189 MB / 2.916 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/7.025, allocations: 2.734 kB / 2.916 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/7.135, allocations: 54.61 MB / 2.969 GB, free: 153 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/7.136, allocations: 168.9 kB / 2.969 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.631/11.77, allocations: 3.75 kB / 2.969 GB, free: 152.8 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)