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.001626/0.001626, allocations: 180.9 kB / 7.651 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.8539/0.8539, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.646/1.646, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.001002/0.001003, allocations: 92.09 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.18e-05, allocations: 4 kB / 0.5535 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5408/0.5409, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.96, allocations: 1.901 GB / 2.535 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/5.961, allocations: 86.58 kB / 2.535 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.128/7.089, allocations: 317.8 MB / 2.845 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.707e-06/7.089, allocations: 0 / 2.845 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003202/7.089, allocations: 51.98 kB / 2.845 GB, free: 67.5 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.005954/7.095, allocations: 2.136 MB / 2.847 GB, free: 65.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/7.095, allocations: 8.031 kB / 2.847 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/7.1, allocations: 0.5512 MB / 2.848 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005038/7.105, allocations: 2.186 MB / 2.85 GB, free: 62.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/7.105, allocations: 56 kB / 2.85 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000681/7.106, allocations: 96 kB / 2.85 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003835/7.11, allocations: 1.814 MB / 2.852 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/7.114, allocations: 1.55 MB / 2.853 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/7.114, allocations: 3.938 kB / 2.853 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/7.114, allocations: 4 kB / 2.853 GB, free: 58.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/7.114, allocations: 40 kB / 2.853 GB, free: 58.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/7.125, allocations: 5.911 MB / 2.859 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/7.128, allocations: 1.808 MB / 2.861 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/7.128, allocations: 0.6244 MB / 2.861 GB, free: 50.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/7.129, allocations: 429.7 kB / 2.862 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/7.13, allocations: 0.8308 MB / 2.863 GB, free: 48.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 4.648e-06/7.13, allocations: 0 / 2.863 GB, free: 48.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004033/7.134, allocations: 1.553 MB / 2.864 GB, free: 47.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/7.134, allocations: 244.6 kB / 2.864 GB, free: 47.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/7.138, allocations: 2.27 MB / 2.867 GB, free: 44.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/7.138, allocations: 29.7 kB / 2.867 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009915/7.139, allocations: 0.8973 MB / 2.868 GB, free: 43.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/7.14, allocations: 437.3 kB / 2.868 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/7.14, allocations: 4 kB / 2.868 GB, free: 43.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/7.14, allocations: 353.9 kB / 2.868 GB, free: 43.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/7.141, allocations: 474.4 kB / 2.869 GB, free: 42.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/7.142, allocations: 0.6646 MB / 2.869 GB, free: 41.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/7.143, allocations: 0.5508 MB / 2.87 GB, free: 41.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/7.143, allocations: 0 / 2.87 GB, free: 41.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003389/7.146, allocations: 1.502 MB / 2.871 GB, free: 39.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/7.146, allocations: 7.953 kB / 2.871 GB, free: 39.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/7.146, allocations: 4 kB / 2.871 GB, free: 39.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/7.147, allocations: 200.2 kB / 2.872 GB, free: 39.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/7.149, allocations: 311.6 kB / 2.872 GB, free: 39.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004252/7.153, allocations: 6.542 MB / 2.878 GB, free: 32.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/7.155, allocations: 131.2 kB / 2.878 GB, free: 32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/7.155, allocations: 71.95 kB / 2.878 GB, free: 31.93 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.0005335/7.156, allocations: 124.7 kB / 2.879 GB, free: 31.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003592/7.159, allocations: 1.506 MB / 2.88 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007231/7.16, allocations: 177.8 kB / 2.88 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004171/7.164, allocations: 1.917 MB / 2.882 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/7.164, allocations: 12 kB / 2.882 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/7.164, allocations: 4 kB / 2.882 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/7.164, allocations: 7.969 kB / 2.882 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008191/7.172, allocations: 3.836 MB / 2.886 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/7.172, allocations: 0 / 2.886 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/7.174, allocations: 331.6 kB / 2.886 GB, free: 23.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008604/7.175, allocations: 204.1 kB / 2.886 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/7.175, allocations: 23.97 kB / 2.886 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/7.179, allocations: 6.566 MB / 2.893 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/7.179, allocations: 3.953 kB / 2.893 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/7.183, allocations: 1.693 MB / 2.894 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/7.184, allocations: 0.6583 MB / 2.895 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006663/7.185, allocations: 4 kB / 2.895 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/7.187, allocations: 115.7 kB / 2.895 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/7.187, allocations: 113.2 kB / 2.895 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/7.187, allocations: 83.95 kB / 2.895 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002946/7.19, allocations: 1.774 MB / 2.897 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/7.19, allocations: 0 / 2.897 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003293/7.194, allocations: 0.7637 MB / 2.898 GB, free: 11.27 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.007235/7.201, allocations: 3.863 MB / 2.902 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002539/7.203, allocations: 1.721 MB / 2.903 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/7.203, allocations: 4.562 kB / 2.903 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/7.205, allocations: 1.224 MB / 2.905 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/7.208, allocations: 430.1 kB / 2.905 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/7.218, allocations: 3.353 MB / 2.908 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4508/7.669, allocations: 1.555 MB / 2.91 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003713/7.673, allocations: 0.6513 MB / 2.91 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002747/7.675, allocations: 0.9215 MB / 2.911 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.744e-06/7.675, allocations: 0.8438 kB / 2.911 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/7.795, allocations: 54.85 MB / 2.965 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/7.795, allocations: 177.3 kB / 2.965 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.073/11.87, allocations: 3.844 kB / 2.965 GB, free: 155.7 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)