Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_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.008333/0.008333, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8045/0.8045, allocations: 135.2 MB / 151 MB, free: 13.85 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.688/1.688, allocations: 223.2 MB / 406.9 MB, free: 3.156 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.000975/0.0009749, allocations: 94.25 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4944, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.489, allocations: 1.901 GB / 2.551 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/5.49, allocations: 87.95 kB / 2.551 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.195/6.685, allocations: 321.6 MB / 2.865 GB, free: 29.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.118e-06/6.685, allocations: 4 kB / 2.865 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000167/6.685, allocations: 52 kB / 2.865 GB, free: 29.13 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.005957/6.691, allocations: 2.624 MB / 2.868 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/6.691, allocations: 8.031 kB / 2.868 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004777/6.691, allocations: 240.6 kB / 2.868 GB, free: 26.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/6.695, allocations: 0.5589 MB / 2.868 GB, free: 25.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/6.7, allocations: 2.2 MB / 2.871 GB, free: 23.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/6.7, allocations: 127.2 kB / 2.871 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/6.7, allocations: 160 kB / 2.871 GB, free: 23.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/6.703, allocations: 1.872 MB / 2.873 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/6.703, allocations: 3.938 kB / 2.873 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/6.703, allocations: 68 kB / 2.873 GB, free: 21.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/6.703, allocations: 40 kB / 2.873 GB, free: 21.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/6.706, allocations: 2.038 MB / 2.875 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/6.717, allocations: 6.213 MB / 2.881 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/6.72, allocations: 2.014 MB / 2.883 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/6.721, allocations: 421.6 kB / 2.883 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/6.722, allocations: 0.9503 MB / 2.884 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.005e-06/6.722, allocations: 0 / 2.884 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.007259/6.729, allocations: 2.885 MB / 2.887 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/6.73, allocations: 248.6 kB / 2.887 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/6.734, allocations: 2.47 MB / 2.89 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002941/6.734, allocations: 57.7 kB / 2.89 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008619/6.735, allocations: 0.8827 MB / 2.891 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/6.736, allocations: 457.3 kB / 2.891 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/6.736, allocations: 20 kB / 2.891 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001282/6.736, allocations: 349.9 kB / 2.891 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/6.737, allocations: 0.5413 MB / 2.892 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/6.738, allocations: 0.7631 MB / 2.893 GB, free: 132 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5773/7.315, allocations: 0.6194 MB / 2.893 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/7.315, allocations: 0.75 kB / 2.893 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.005554/7.321, allocations: 1.708 MB / 2.895 GB, free: 154 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/7.321, allocations: 9.422 kB / 2.895 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/7.321, allocations: 4.172 kB / 2.895 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/7.322, allocations: 213.5 kB / 2.895 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/7.324, allocations: 309.3 kB / 2.895 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/7.33, allocations: 6.844 MB / 2.902 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/7.332, allocations: 168.9 kB / 2.902 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/7.332, allocations: 68.42 kB / 2.902 GB, free: 147.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 () * 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.001693/7.334, allocations: 475.7 kB / 2.903 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007937/7.335, allocations: 197 kB / 2.903 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005995/7.341, allocations: 2.146 MB / 2.905 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/7.341, allocations: 15.28 kB / 2.905 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/7.341, allocations: 4.812 kB / 2.905 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/7.341, allocations: 6.391 kB / 2.905 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009511/7.351, allocations: 4.28 MB / 2.909 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/7.351, allocations: 0 / 2.909 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/7.352, allocations: 328 kB / 2.91 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009175/7.353, allocations: 208.4 kB / 2.91 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/7.353, allocations: 40.89 kB / 2.91 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004819/7.358, allocations: 6.884 MB / 2.916 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/7.358, allocations: 3.953 kB / 2.916 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/7.364, allocations: 1.907 MB / 2.918 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/7.366, allocations: 0.68 MB / 2.919 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/7.366, allocations: 32.75 kB / 2.919 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/7.368, allocations: 138.7 kB / 2.919 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/7.368, allocations: 111.4 kB / 2.919 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/7.368, allocations: 83 kB / 2.919 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003236/7.372, allocations: 1.961 MB / 2.921 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/7.372, allocations: 0 / 2.921 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003766/7.375, allocations: 0.8199 MB / 2.922 GB, free: 139.9 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.008123/7.383, allocations: 4.02 MB / 2.926 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003585/7.387, allocations: 1.919 MB / 2.928 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/7.387, allocations: 0.5625 kB / 2.928 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/7.389, allocations: 1.35 MB / 2.929 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/7.392, allocations: 472.3 kB / 2.93 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/7.421, allocations: 15.5 MB / 2.945 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/7.422, allocations: 1.554 MB / 2.946 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002931/7.425, allocations: 0.6655 MB / 2.947 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/7.427, allocations: 0.9237 MB / 2.948 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/7.427, allocations: 0 / 2.948 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/7.566, allocations: 67.77 MB / 3.014 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/7.566, allocations: 244.2 kB / 3.014 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.837/12.4, allocations: 0 / 3.014 GB, free: 117.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)