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.001433/0.001433, allocations: 174.7 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.7385/0.7385, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.695/1.695, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.001094/0.001095, allocations: 95.39 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.961e-05/4.984e-05, allocations: 3.781 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2425, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.495/5.737, allocations: 1.901 GB / 2.542 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/5.738, allocations: 87.95 kB / 2.542 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.552/7.289, allocations: 321.1 MB / 2.855 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.325e-06/7.29, allocations: 0 / 2.855 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004036/7.29, allocations: 50.78 kB / 2.855 GB, free: 158.1 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.007709/7.298, allocations: 2.146 MB / 2.858 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/7.298, allocations: 8.812 kB / 2.858 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000733/7.298, allocations: 232.9 kB / 2.858 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/7.303, allocations: 0.5511 MB / 2.858 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/7.307, allocations: 2.181 MB / 2.86 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/7.307, allocations: 132.9 kB / 2.861 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/7.308, allocations: 168 kB / 2.861 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/7.311, allocations: 1.789 MB / 2.863 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/7.311, allocations: 0 / 2.863 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/7.311, allocations: 71.59 kB / 2.863 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/7.311, allocations: 39.66 kB / 2.863 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/7.314, allocations: 1.906 MB / 2.864 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009912/7.324, allocations: 6.215 MB / 2.871 GB, free: 155 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/7.327, allocations: 1.889 MB / 2.872 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008729/7.328, allocations: 0.6715 MB / 2.873 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/7.328, allocations: 430.6 kB / 2.873 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/7.329, allocations: 0.881 MB / 2.874 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.467e-06/7.329, allocations: 0 / 2.874 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003494/7.333, allocations: 1.62 MB / 2.876 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/7.333, allocations: 255.7 kB / 2.876 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/7.336, allocations: 2.444 MB / 2.879 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002266/7.336, allocations: 56.98 kB / 2.879 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/7.337, allocations: 0.8883 MB / 2.879 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/7.338, allocations: 455.4 kB / 2.88 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/7.338, allocations: 24.38 kB / 2.88 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/7.338, allocations: 348.6 kB / 2.88 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007163/7.338, allocations: 492.5 kB / 2.881 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/7.339, allocations: 0.7012 MB / 2.881 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/7.34, allocations: 0.5651 MB / 2.882 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.34, allocations: 3.688 kB / 2.882 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003051/7.343, allocations: 1.589 MB / 2.884 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/7.343, allocations: 8.438 kB / 2.884 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/7.343, allocations: 0 / 2.884 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009515/7.344, allocations: 209 kB / 2.884 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/7.346, allocations: 312.1 kB / 2.884 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/7.35, allocations: 6.811 MB / 2.891 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/7.352, allocations: 165.5 kB / 2.891 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/7.352, allocations: 70.33 kB / 2.891 GB, free: 145.7 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.0003947/7.353, allocations: 176 kB / 2.891 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/7.353, allocations: 187.7 kB / 2.891 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/7.357, allocations: 2.037 MB / 2.893 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/7.357, allocations: 11.56 kB / 2.893 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/7.357, allocations: 9.594 kB / 2.893 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/7.357, allocations: 5.812 kB / 2.893 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0064/7.364, allocations: 4.148 MB / 2.897 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/7.364, allocations: 0 / 2.897 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/7.365, allocations: 334 kB / 2.898 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008194/7.366, allocations: 216.4 kB / 2.898 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/7.366, allocations: 39.92 kB / 2.898 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004039/7.37, allocations: 6.823 MB / 2.905 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/7.37, allocations: 0 / 2.905 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/7.374, allocations: 1.794 MB / 2.906 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/7.375, allocations: 0.6693 MB / 2.907 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/7.375, allocations: 32.27 kB / 2.907 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/7.377, allocations: 142.2 kB / 2.907 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/7.377, allocations: 109 kB / 2.907 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/7.377, allocations: 80.7 kB / 2.907 GB, free: 138 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002469/7.38, allocations: 1.933 MB / 2.909 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/7.38, allocations: 0 / 2.909 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002836/7.382, allocations: 0.8253 MB / 2.91 GB, free: 137.7 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.006151/7.389, allocations: 3.844 MB / 2.914 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002627/7.391, allocations: 1.801 MB / 2.915 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/7.391, allocations: 4.312 kB / 2.915 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/7.393, allocations: 1.284 MB / 2.917 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/7.396, allocations: 471.7 kB / 2.917 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008178/7.404, allocations: 3.486 MB / 2.921 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/7.405, allocations: 1.561 MB / 2.922 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002364/7.407, allocations: 0.6625 MB / 2.923 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/7.409, allocations: 0.9213 MB / 2.924 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/7.409, allocations: 0 / 2.924 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/7.523, allocations: 70.48 MB / 2.992 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/7.524, allocations: 223.8 kB / 2.993 GB, free: 96.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.523/12.05, allocations: 4 kB / 2.993 GB, free: 96.04 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)