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.002013/0.002013, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7818/0.7818, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.72/1.72, allocations: 221.3 MB / 400.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009781/0.000978, allocations: 97.19 kB / 483.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.174e-05, allocations: 2.688 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1709, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.327/5.498, allocations: 1.901 GB / 2.542 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/5.498, allocations: 86.61 kB / 2.542 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.394/6.892, allocations: 325.8 MB / 2.86 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.235e-06/6.892, allocations: 0 / 2.86 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003154/6.893, allocations: 56.38 kB / 2.86 GB, free: 154.8 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.006231/6.899, allocations: 2.122 MB / 2.862 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/6.899, allocations: 8.188 kB / 2.862 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007979/6.9, allocations: 237.4 kB / 2.862 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/6.904, allocations: 0.5555 MB / 2.863 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00545/6.91, allocations: 2.173 MB / 2.865 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/6.91, allocations: 121.9 kB / 2.865 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/6.911, allocations: 170.6 kB / 2.865 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004633/6.915, allocations: 1.787 MB / 2.867 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/6.915, allocations: 0 / 2.867 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/6.916, allocations: 71.94 kB / 2.867 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/6.916, allocations: 44.55 kB / 2.867 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/6.919, allocations: 1.905 MB / 2.869 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/6.932, allocations: 6.201 MB / 2.875 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/6.935, allocations: 1.878 MB / 2.877 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/6.936, allocations: 0.678 MB / 2.878 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/6.937, allocations: 427.7 kB / 2.878 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/6.938, allocations: 0.8833 MB / 2.879 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 6.031e-06/6.938, allocations: 0 / 2.879 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004175/6.943, allocations: 1.621 MB / 2.88 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/6.943, allocations: 245.7 kB / 2.881 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/6.948, allocations: 2.434 MB / 2.883 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003459/6.948, allocations: 54.77 kB / 2.883 GB, free: 150 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/6.949, allocations: 0.8684 MB / 2.884 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006714/6.95, allocations: 459.9 kB / 2.884 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/6.95, allocations: 19.22 kB / 2.884 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001305/6.95, allocations: 349.6 kB / 2.885 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009184/6.951, allocations: 499.3 kB / 2.885 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/6.952, allocations: 0.7027 MB / 2.886 GB, free: 149 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/6.953, allocations: 0.573 MB / 2.886 GB, free: 149 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/6.953, allocations: 0 / 2.886 GB, free: 149 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003453/6.957, allocations: 1.586 MB / 2.888 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/6.957, allocations: 4.688 kB / 2.888 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/6.957, allocations: 6.781 kB / 2.888 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/6.958, allocations: 214.2 kB / 2.888 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/6.959, allocations: 306.1 kB / 2.889 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/6.964, allocations: 6.806 MB / 2.895 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/6.966, allocations: 167.4 kB / 2.895 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/6.966, allocations: 64.38 kB / 2.895 GB, free: 142.3 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.0004179/6.966, allocations: 183.8 kB / 2.896 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006942/6.967, allocations: 186.3 kB / 2.896 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/6.972, allocations: 2.03 MB / 2.898 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/6.972, allocations: 14.56 kB / 2.898 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/6.972, allocations: 3.406 kB / 2.898 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/6.972, allocations: 6.656 kB / 2.898 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008055/6.98, allocations: 4.14 MB / 2.902 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/6.98, allocations: 0 / 2.902 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/6.981, allocations: 334.1 kB / 2.902 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009241/6.982, allocations: 210.8 kB / 2.902 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/6.982, allocations: 47.02 kB / 2.902 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004574/6.987, allocations: 6.824 MB / 2.909 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/6.987, allocations: 0 / 2.909 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/6.991, allocations: 1.791 MB / 2.911 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/6.992, allocations: 0.6685 MB / 2.911 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/6.993, allocations: 31.27 kB / 2.911 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/6.995, allocations: 137.5 kB / 2.912 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/6.995, allocations: 115.5 kB / 2.912 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/6.995, allocations: 84.73 kB / 2.912 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003403/6.999, allocations: 1.918 MB / 2.914 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/6.999, allocations: 0 / 2.914 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00343/7.002, allocations: 0.8272 MB / 2.914 GB, free: 134.2 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.008099/7.01, allocations: 3.841 MB / 2.918 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004009/7.014, allocations: 1.794 MB / 2.92 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/7.014, allocations: 7.594 kB / 2.92 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/7.017, allocations: 1.289 MB / 2.921 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/7.02, allocations: 474 kB / 2.922 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/7.032, allocations: 3.467 MB / 2.925 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/7.035, allocations: 1.554 MB / 2.927 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003785/7.039, allocations: 0.6582 MB / 2.927 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/7.041, allocations: 0.9126 MB / 2.928 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/7.041, allocations: 0 / 2.928 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/7.169, allocations: 70.23 MB / 2.997 GB, free: 54.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/7.169, allocations: 218.1 kB / 2.997 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.45/12.62, allocations: 0 / 2.997 GB, free: 54.64 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)