Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_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.001777/0.001777, allocations: 180.9 kB / 7.65 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.8409/0.8409, allocations: 133.6 MB / 141.6 MB, free: 2.953 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.681/1.681, 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.0009699/0.0009699, allocations: 99.52 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.458e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.5627, allocations: 82.31 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.164/5.727, allocations: 1.9 GB / 2.534 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/5.727, allocations: 83.95 kB / 2.534 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.154/6.881, allocations: 322.2 MB / 2.849 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.366e-06/6.881, allocations: 0 / 2.849 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004043/6.882, allocations: 55.94 kB / 2.849 GB, free: 85.96 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.006977/6.889, allocations: 2.101 MB / 2.851 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/6.889, allocations: 8.031 kB / 2.851 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/6.893, allocations: 0.5525 MB / 2.852 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/6.898, allocations: 2.169 MB / 2.854 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/6.898, allocations: 55.94 kB / 2.854 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005476/6.899, allocations: 96 kB / 2.854 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003598/6.902, allocations: 1.81 MB / 2.856 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/6.905, allocations: 1.546 MB / 2.857 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/6.905, allocations: 3.938 kB / 2.857 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/6.905, allocations: 8 kB / 2.857 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/6.905, allocations: 40 kB / 2.857 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008946/6.914, allocations: 5.704 MB / 2.863 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/6.916, allocations: 1.784 MB / 2.864 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/6.917, allocations: 0.6322 MB / 2.865 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/6.917, allocations: 429.6 kB / 2.866 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/6.918, allocations: 0.8348 MB / 2.866 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 2.574e-06/6.918, allocations: 0 / 2.866 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003395/6.922, allocations: 1.545 MB / 2.868 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/6.922, allocations: 256.6 kB / 2.868 GB, free: 65.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/6.924, allocations: 2.244 MB / 2.87 GB, free: 63.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/6.925, allocations: 29.7 kB / 2.87 GB, free: 63.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006299/6.925, allocations: 0.8777 MB / 2.871 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/6.926, allocations: 445.2 kB / 2.872 GB, free: 62.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/6.926, allocations: 0 / 2.872 GB, free: 62.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/6.926, allocations: 353.9 kB / 2.872 GB, free: 61.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/6.926, allocations: 470.4 kB / 2.872 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/6.927, allocations: 0.667 MB / 2.873 GB, free: 60.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/6.928, allocations: 0.5512 MB / 2.874 GB, free: 60.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/6.928, allocations: 4 kB / 2.874 GB, free: 60.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002757/6.931, allocations: 1.491 MB / 2.875 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/6.931, allocations: 7.984 kB / 2.875 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/6.931, allocations: 0 / 2.875 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/6.932, allocations: 216.1 kB / 2.875 GB, free: 58.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/6.933, allocations: 299.6 kB / 2.876 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/6.937, allocations: 6.53 MB / 2.882 GB, free: 50.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/6.939, allocations: 119.2 kB / 2.882 GB, free: 50.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/6.939, allocations: 63.97 kB / 2.882 GB, free: 50.73 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.0004712/6.94, allocations: 130.8 kB / 2.882 GB, free: 50.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003287/6.943, allocations: 1.502 MB / 2.884 GB, free: 49.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006314/6.943, allocations: 177.8 kB / 2.884 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/6.948, allocations: 1.913 MB / 2.886 GB, free: 46.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/6.948, allocations: 16 kB / 2.886 GB, free: 46.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/6.948, allocations: 7.953 kB / 2.886 GB, free: 46.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/6.948, allocations: 7.969 kB / 2.886 GB, free: 46.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008201/6.956, allocations: 3.83 MB / 2.889 GB, free: 43.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/6.956, allocations: 0 / 2.889 GB, free: 43.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/6.957, allocations: 319.6 kB / 2.89 GB, free: 42.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008831/6.958, allocations: 208.1 kB / 2.89 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/6.958, allocations: 31.97 kB / 2.89 GB, free: 42.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004341/6.963, allocations: 6.558 MB / 2.896 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/6.963, allocations: 4.031 kB / 2.896 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/6.966, allocations: 1.693 MB / 2.898 GB, free: 33.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/6.968, allocations: 0.6545 MB / 2.899 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006395/6.968, allocations: 7.938 kB / 2.899 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/6.97, allocations: 99.75 kB / 2.899 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/6.97, allocations: 117.1 kB / 2.899 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/6.971, allocations: 83.95 kB / 2.899 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002718/6.973, allocations: 1.753 MB / 2.901 GB, free: 30.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/6.973, allocations: 0 / 2.901 GB, free: 30.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003312/6.977, allocations: 0.7559 MB / 2.901 GB, free: 30.11 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.007062/6.984, allocations: 3.874 MB / 2.905 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002493/6.986, allocations: 1.717 MB / 2.907 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/6.986, allocations: 0.5625 kB / 2.907 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/6.988, allocations: 1.224 MB / 2.908 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/6.991, allocations: 423.1 kB / 2.908 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/7, allocations: 3.239 MB / 2.912 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/7.001, allocations: 1.554 MB / 2.913 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002802/7.004, allocations: 0.6482 MB / 2.914 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/7.005, allocations: 0.9209 MB / 2.915 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/7.005, allocations: 0 / 2.915 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5693/7.575, allocations: 54.35 MB / 2.968 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/7.575, allocations: 168.4 kB / 2.968 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.064/11.64, allocations: 0 / 2.968 GB, free: 159.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)