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.001723/0.001723, allocations: 173.9 kB / 7.648 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.8392/0.8392, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.633/1.633, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009214/0.0009214, allocations: 101.6 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.583e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.508, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.768/5.276, allocations: 1.901 GB / 2.535 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/5.277, allocations: 87.2 kB / 2.535 GB, free: 95.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.093/6.37, allocations: 322.5 MB / 2.85 GB, free: 53.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/6.37, allocations: 0 / 2.85 GB, free: 53.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000162/6.37, allocations: 51.98 kB / 2.85 GB, free: 53.09 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.003808/6.374, allocations: 2.12 MB / 2.852 GB, free: 50.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/6.374, allocations: 12.03 kB / 2.852 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003511/6.377, allocations: 0.5473 MB / 2.852 GB, free: 50.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/6.381, allocations: 2.185 MB / 2.854 GB, free: 48.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/6.381, allocations: 52 kB / 2.854 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/6.381, allocations: 96 kB / 2.855 GB, free: 47.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002749/6.384, allocations: 1.814 MB / 2.856 GB, free: 46.15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/6.387, allocations: 1.546 MB / 2.858 GB, free: 44.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/6.387, allocations: 4 kB / 2.858 GB, free: 44.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/6.387, allocations: 7.922 kB / 2.858 GB, free: 44.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/6.387, allocations: 44 kB / 2.858 GB, free: 44.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00877/6.396, allocations: 5.887 MB / 2.864 GB, free: 38.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/6.398, allocations: 1.805 MB / 2.865 GB, free: 36.53 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/6.399, allocations: 0.6322 MB / 2.866 GB, free: 35.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/6.399, allocations: 429.7 kB / 2.866 GB, free: 35.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/6.4, allocations: 0.8353 MB / 2.867 GB, free: 34.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.026e-06/6.4, allocations: 0 / 2.867 GB, free: 34.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003236/6.404, allocations: 1.541 MB / 2.869 GB, free: 32.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/6.404, allocations: 252.6 kB / 2.869 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/6.406, allocations: 2.257 MB / 2.871 GB, free: 30.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/6.406, allocations: 33.64 kB / 2.871 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/6.407, allocations: 0.8777 MB / 2.872 GB, free: 29.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/6.407, allocations: 441.3 kB / 2.872 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/6.407, allocations: 0 / 2.872 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/6.407, allocations: 349.9 kB / 2.873 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/6.408, allocations: 470.4 kB / 2.873 GB, free: 28.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/6.409, allocations: 0.6709 MB / 2.874 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/6.409, allocations: 0.5511 MB / 2.874 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/6.409, allocations: 4 kB / 2.874 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002628/6.412, allocations: 1.498 MB / 2.876 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/6.412, allocations: 9.25 kB / 2.876 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/6.412, allocations: 3.984 kB / 2.876 GB, free: 25.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/6.413, allocations: 208.1 kB / 2.876 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/6.414, allocations: 311.6 kB / 2.876 GB, free: 24.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/6.418, allocations: 6.531 MB / 2.883 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/6.42, allocations: 127.1 kB / 2.883 GB, free: 17.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/6.42, allocations: 71.97 kB / 2.883 GB, free: 17.59 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.0003035/6.42, allocations: 124.8 kB / 2.883 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002689/6.423, allocations: 1.502 MB / 2.885 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/6.423, allocations: 181.8 kB / 2.885 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/6.427, allocations: 1.913 MB / 2.887 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/6.427, allocations: 20 kB / 2.887 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/6.427, allocations: 0 / 2.887 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/6.427, allocations: 7.984 kB / 2.887 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/6.434, allocations: 3.822 MB / 2.89 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/6.434, allocations: 0 / 2.89 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/6.435, allocations: 327.6 kB / 2.891 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/6.436, allocations: 204.1 kB / 2.891 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/6.436, allocations: 31.97 kB / 2.891 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/6.441, allocations: 6.554 MB / 2.897 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/6.441, allocations: 7.922 kB / 2.897 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/6.444, allocations: 1.701 MB / 2.899 GB, free: 460 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.539/6.983, allocations: 0.6487 MB / 2.9 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007997/6.984, allocations: 2.422 kB / 2.9 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/6.986, allocations: 110 kB / 2.9 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/6.986, allocations: 110.2 kB / 2.9 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002851/6.986, allocations: 86.62 kB / 2.9 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003715/6.99, allocations: 1.768 MB / 2.902 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/6.99, allocations: 0 / 2.902 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004013/6.994, allocations: 0.7608 MB / 2.902 GB, free: 158.5 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.008115/7.002, allocations: 3.858 MB / 2.906 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002691/7.005, allocations: 1.719 MB / 2.908 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/7.005, allocations: 4.531 kB / 2.908 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/7.006, allocations: 1.221 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.002762/7.009, allocations: 436.4 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.009524/7.019, 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.001495/7.02, allocations: 1.545 MB / 2.914 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002928/7.023, allocations: 0.6561 MB / 2.915 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/7.025, allocations: 0.9182 MB / 2.916 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/7.025, allocations: 0 / 2.916 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/7.138, 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.0002184/7.139, allocations: 177.6 kB / 2.969 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.681/11.82, allocations: 0 / 2.969 GB, free: 152.8 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)