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.001014/0.001014, allocations: 174.1 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.7183/0.7183, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.689/1.689, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.001017/0.001018, allocations: 103.1 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.842e-05, allocations: 3.781 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.224, allocations: 82.3 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/5.519, allocations: 1.901 GB / 2.542 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/5.519, allocations: 94.75 kB / 2.542 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.517/7.037, allocations: 321.1 MB / 2.855 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/7.037, allocations: 0 / 2.855 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001771/7.037, allocations: 51.59 kB / 2.855 GB, free: 157.8 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.004226/7.041, allocations: 2.139 MB / 2.858 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/7.041, allocations: 9.438 kB / 2.858 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003116/7.042, allocations: 236.9 kB / 2.858 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/7.045, allocations: 0.5499 MB / 2.858 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/7.049, allocations: 2.178 MB / 2.86 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/7.049, allocations: 127.4 kB / 2.861 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/7.049, allocations: 162 kB / 2.861 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/7.053, allocations: 1.794 MB / 2.862 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/7.053, allocations: 5.062 kB / 2.863 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/7.053, allocations: 72.72 kB / 2.863 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/7.053, allocations: 44.88 kB / 2.863 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/7.056, allocations: 1.902 MB / 2.864 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008858/7.065, allocations: 6.23 MB / 2.871 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/7.067, allocations: 1.878 MB / 2.872 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/7.068, allocations: 0.6713 MB / 2.873 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005257/7.068, allocations: 428.7 kB / 2.873 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/7.069, allocations: 0.8806 MB / 2.874 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 4.208e-06/7.069, allocations: 0 / 2.874 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.00339/7.073, allocations: 1.629 MB / 2.876 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/7.073, allocations: 254.9 kB / 2.876 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/7.076, allocations: 2.44 MB / 2.879 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/7.076, allocations: 57.64 kB / 2.879 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/7.077, allocations: 0.8824 MB / 2.879 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/7.078, allocations: 455.5 kB / 2.88 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/7.078, allocations: 24.16 kB / 2.88 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001658/7.078, allocations: 355.8 kB / 2.88 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009465/7.079, allocations: 489.8 kB / 2.881 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/7.08, allocations: 0.7007 MB / 2.881 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009919/7.081, allocations: 0.5644 MB / 2.882 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/7.081, allocations: 2.906 kB / 2.882 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003415/7.085, allocations: 1.596 MB / 2.884 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/7.085, allocations: 3.688 kB / 2.884 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/7.085, allocations: 0 / 2.884 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009736/7.086, allocations: 211.6 kB / 2.884 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/7.087, allocations: 311.9 kB / 2.884 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/7.091, allocations: 6.803 MB / 2.891 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/7.093, allocations: 174.1 kB / 2.891 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/7.093, allocations: 69.16 kB / 2.891 GB, free: 145.5 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.0003282/7.094, allocations: 180.6 kB / 2.891 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/7.094, allocations: 186 kB / 2.891 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/7.098, allocations: 2.034 MB / 2.893 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/7.098, allocations: 10.97 kB / 2.893 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/7.098, allocations: 3.906 kB / 2.893 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/7.098, allocations: 7.5 kB / 2.893 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/7.104, allocations: 4.148 MB / 2.897 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/7.104, allocations: 0 / 2.897 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/7.106, allocations: 337 kB / 2.898 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/7.106, allocations: 207.7 kB / 2.898 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.281e-05/7.107, allocations: 40.59 kB / 2.898 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004068/7.111, allocations: 6.833 MB / 2.905 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/7.111, allocations: 0 / 2.905 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/7.114, allocations: 1.793 MB / 2.906 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/7.115, allocations: 0.6662 MB / 2.907 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/7.116, allocations: 30.19 kB / 2.907 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/7.117, allocations: 148 kB / 2.907 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/7.117, allocations: 104.7 kB / 2.907 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/7.117, allocations: 87.47 kB / 2.907 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002392/7.12, allocations: 1.932 MB / 2.909 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/7.12, allocations: 2.344 kB / 2.909 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002429/7.122, allocations: 0.8173 MB / 2.91 GB, free: 137.5 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.005753/7.128, allocations: 3.847 MB / 2.914 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002428/7.13, allocations: 1.797 MB / 2.915 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/7.13, allocations: 0.5625 kB / 2.915 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/7.132, allocations: 1.294 MB / 2.917 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/7.134, allocations: 467.9 kB / 2.917 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00835/7.143, allocations: 3.495 MB / 2.921 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/7.144, allocations: 1.56 MB / 2.922 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002586/7.146, allocations: 0.6531 MB / 2.923 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/7.148, allocations: 0.9289 MB / 2.924 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/7.148, allocations: 0 / 2.924 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/7.255, allocations: 70.47 MB / 2.992 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/7.255, allocations: 223.6 kB / 2.993 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.488/11.74, allocations: 0 / 2.993 GB, free: 96.07 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)