Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.001401/0.001401, allocations: 172.5 kB / 7.646 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.8068/0.8068, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.673/1.673, allocations: 221.5 MB / 395.4 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.001033/0.001034, allocations: 96.2 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.748e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.5476, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.161/5.709, allocations: 1.9 GB / 2.534 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/5.709, allocations: 91.94 kB / 2.534 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.017/6.726, allocations: 322.2 MB / 2.849 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.944e-06/6.726, allocations: 0 / 2.849 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003101/6.726, allocations: 51.94 kB / 2.849 GB, free: 84.65 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005653/6.732, allocations: 2.099 MB / 2.851 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/6.732, allocations: 8.031 kB / 2.851 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/6.736, allocations: 0.5564 MB / 2.852 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/6.742, allocations: 2.172 MB / 2.854 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/6.742, allocations: 52 kB / 2.854 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/6.742, allocations: 99.98 kB / 2.854 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004026/6.746, allocations: 1.814 MB / 2.856 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/6.75, allocations: 1.546 MB / 2.857 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/6.75, allocations: 4 kB / 2.857 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/6.75, allocations: 4 kB / 2.857 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/6.75, allocations: 40 kB / 2.857 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/6.761, allocations: 5.715 MB / 2.863 GB, free: 70.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/6.763, allocations: 1.776 MB / 2.864 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/6.764, allocations: 0.64 MB / 2.865 GB, free: 67.69 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/6.764, allocations: 421.7 kB / 2.866 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/6.766, allocations: 0.8348 MB / 2.866 GB, free: 66.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 4.749e-06/6.766, allocations: 0 / 2.866 GB, free: 66.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003641/6.769, allocations: 1.549 MB / 2.868 GB, free: 64.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/6.769, allocations: 248.6 kB / 2.868 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/6.773, allocations: 2.248 MB / 2.87 GB, free: 62.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/6.773, allocations: 29.7 kB / 2.87 GB, free: 62.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007214/6.774, allocations: 0.8699 MB / 2.871 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/6.774, allocations: 445.2 kB / 2.872 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/6.774, allocations: 0 / 2.872 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.251e-05/6.775, allocations: 353.9 kB / 2.872 GB, free: 60.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/6.775, allocations: 474.4 kB / 2.872 GB, free: 60.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/6.776, allocations: 0.6675 MB / 2.873 GB, free: 59.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008695/6.777, allocations: 0.5547 MB / 2.874 GB, free: 58.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/6.777, allocations: 0 / 2.874 GB, free: 58.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003024/6.78, allocations: 1.495 MB / 2.875 GB, free: 57.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/6.78, allocations: 4 kB / 2.875 GB, free: 57.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/6.78, allocations: 0 / 2.875 GB, free: 57.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009728/6.781, allocations: 220.1 kB / 2.875 GB, free: 57.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/6.782, allocations: 299.6 kB / 2.876 GB, free: 56.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/6.786, allocations: 6.534 MB / 2.882 GB, free: 49.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/6.788, allocations: 115.2 kB / 2.882 GB, free: 49.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/6.788, allocations: 67.95 kB / 2.882 GB, free: 49.42 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 (131): * Single equations (assignments): 126 * 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.0004047/6.789, allocations: 124.8 kB / 2.882 GB, free: 49.29 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003595/6.792, allocations: 1.506 MB / 2.884 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008687/6.793, allocations: 173.8 kB / 2.884 GB, free: 47.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004615/6.798, allocations: 1.913 MB / 2.886 GB, free: 45.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/6.798, allocations: 16 kB / 2.886 GB, free: 45.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/6.798, allocations: 7.953 kB / 2.886 GB, free: 45.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/6.798, allocations: 11.97 kB / 2.886 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007507/6.805, allocations: 3.822 MB / 2.889 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/6.805, allocations: 0 / 2.889 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/6.807, allocations: 315.6 kB / 2.89 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/6.808, allocations: 212.1 kB / 2.89 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/6.808, allocations: 27.97 kB / 2.89 GB, free: 41.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/6.812, allocations: 6.558 MB / 2.896 GB, free: 34.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/6.812, allocations: 4.031 kB / 2.896 GB, free: 34.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/6.815, allocations: 1.705 MB / 2.898 GB, free: 32.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/6.817, allocations: 0.6506 MB / 2.899 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005876/6.817, allocations: 3.953 kB / 2.899 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/6.819, allocations: 99.75 kB / 2.899 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/6.819, allocations: 109.2 kB / 2.899 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/6.819, allocations: 95.88 kB / 2.899 GB, free: 31.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002471/6.822, allocations: 1.753 MB / 2.901 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/6.822, allocations: 0 / 2.901 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002988/6.825, allocations: 0.752 MB / 2.901 GB, free: 28.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) * 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.006788/6.831, allocations: 3.867 MB / 2.905 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002791/6.834, allocations: 1.717 MB / 2.907 GB, free: 23.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/6.834, allocations: 0.5625 kB / 2.907 GB, free: 23.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/6.836, allocations: 1.224 MB / 2.908 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/6.839, allocations: 429.5 kB / 2.908 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00934/6.848, allocations: 3.239 MB / 2.912 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/6.85, allocations: 1.558 MB / 2.913 GB, free: 16.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003019/6.853, allocations: 0.6444 MB / 2.914 GB, free: 16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/6.854, allocations: 0.917 MB / 2.915 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/6.854, allocations: 0 / 2.915 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5037/7.358, allocations: 54.35 MB / 2.968 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/7.358, allocations: 162.2 kB / 2.968 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.11/11.47, allocations: 0 / 2.968 GB, free: 153.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)