Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",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.01808/0.01808, allocations: 172.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.296/1.296, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.784/2.784, allocations: 223.2 MB / 406.8 MB, free: 3.211 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.001321/0.001321, allocations: 101.2 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006384/0.0006385, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9264/0.9271, allocations: 82.32 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.49/11.41, allocations: 1.901 GB / 2.551 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005294/11.41, allocations: 96.08 kB / 2.551 GB, free: 35.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.322/14.74, allocations: 321.6 MB / 2.865 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.995e-06/14.74, allocations: 0 / 2.865 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0008734/14.74, allocations: 56.44 kB / 2.865 GB, free: 157.2 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.01927/14.76, allocations: 2.632 MB / 2.868 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001278/14.76, allocations: 7.781 kB / 2.868 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002496/14.76, allocations: 236.9 kB / 2.868 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008093/14.77, allocations: 0.5602 MB / 2.868 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/14.78, allocations: 2.195 MB / 2.871 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006385/14.78, allocations: 122.7 kB / 2.871 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/14.78, allocations: 165.2 kB / 2.871 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/14.79, allocations: 1.866 MB / 2.873 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/14.79, allocations: 2.938 kB / 2.873 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005228/14.79, allocations: 70.41 kB / 2.873 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/14.79, allocations: 40.22 kB / 2.873 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/14.8, allocations: 2.042 MB / 2.875 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03179/14.84, allocations: 6.221 MB / 2.881 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009153/14.85, allocations: 2.001 MB / 2.883 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/14.85, allocations: 434.2 kB / 2.883 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00501/14.85, allocations: 0.9396 MB / 2.884 GB, free: 153 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 2.056e-05/14.85, allocations: 2.516 kB / 2.884 GB, free: 153 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.01771/14.87, allocations: 2.887 MB / 2.887 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/14.87, allocations: 247.5 kB / 2.887 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/14.88, allocations: 2.475 MB / 2.89 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/14.88, allocations: 55.89 kB / 2.89 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002867/14.89, allocations: 0.8799 MB / 2.89 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00215/14.89, allocations: 462.5 kB / 2.891 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008278/14.89, allocations: 23.44 kB / 2.891 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0005412/14.89, allocations: 352.5 kB / 2.891 GB, free: 151 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/14.89, allocations: 0.5421 MB / 2.892 GB, free: 151 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/14.9, allocations: 0.7701 MB / 2.893 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/14.9, allocations: 0.6188 MB / 2.893 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/14.9, allocations: 0 / 2.893 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.008068/14.91, allocations: 1.71 MB / 2.895 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/14.91, allocations: 7.344 kB / 2.895 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/14.91, allocations: 0 / 2.895 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/14.91, allocations: 213 kB / 2.895 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006512/14.92, allocations: 312.8 kB / 2.895 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/14.93, allocations: 6.851 MB / 2.902 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/14.94, allocations: 171.7 kB / 2.902 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000564/14.94, allocations: 64.8 kB / 2.902 GB, free: 144.2 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 () * Number of clocked 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.002327/14.94, allocations: 485.2 kB / 2.903 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/14.94, allocations: 183.2 kB / 2.903 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007283/14.95, allocations: 2.153 MB / 2.905 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/14.95, allocations: 15 kB / 2.905 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/14.95, allocations: 3.469 kB / 2.905 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/14.95, allocations: 7.547 kB / 2.905 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/14.96, allocations: 4.261 MB / 2.909 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/14.96, allocations: 10.28 kB / 2.909 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/14.96, allocations: 323.8 kB / 2.91 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/14.96, allocations: 217.1 kB / 2.91 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/14.96, allocations: 47.25 kB / 2.91 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007311/14.97, allocations: 6.875 MB / 2.916 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/14.97, allocations: 10.67 kB / 2.916 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007525/14.98, allocations: 1.91 MB / 2.918 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003379/14.98, allocations: 0.6725 MB / 2.919 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/14.98, allocations: 25 kB / 2.919 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/14.99, allocations: 139.8 kB / 2.919 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/14.99, allocations: 114.3 kB / 2.919 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004445/14.99, allocations: 86.05 kB / 2.919 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00582/14.99, allocations: 1.959 MB / 2.921 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.072e-06/14.99, allocations: 3.75 kB / 2.921 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006006/15, allocations: 0.8287 MB / 2.922 GB, free: 136.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) * Number of clocked states: 0 () * 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.01476/15.01, allocations: 4.004 MB / 2.926 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006634/15.02, allocations: 1.922 MB / 2.928 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.359e-05/15.02, allocations: 4 kB / 2.928 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003685/15.03, allocations: 1.352 MB / 2.929 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/15.03, allocations: 473.2 kB / 2.93 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05672/15.09, allocations: 15.49 MB / 2.945 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/15.09, allocations: 1.553 MB / 2.946 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006008/15.1, allocations: 0.6589 MB / 2.947 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004191/15.1, allocations: 0.9191 MB / 2.948 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.626e-06/15.1, allocations: 3.344 kB / 2.948 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/15.33, allocations: 67.77 MB / 3.014 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004095/15.34, allocations: 251.8 kB / 3.014 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.627/23.96, allocations: 0 / 3.014 GB, free: 88.71 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)