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.001104/0.001104, allocations: 172.5 kB / 7.647 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.8076/0.8076, 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.716/1.716, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001002, allocations: 107.7 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.721e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5555, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.489/6.045, allocations: 1.901 GB / 2.535 GB, free: 96.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/6.045, allocations: 88.08 kB / 2.535 GB, free: 96.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.124/7.169, allocations: 317.8 MB / 2.845 GB, free: 57.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/7.17, allocations: 0 / 2.845 GB, free: 57.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003004/7.17, allocations: 55.94 kB / 2.845 GB, free: 57.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.005404/7.175, allocations: 2.129 MB / 2.847 GB, free: 54.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/7.175, allocations: 15.97 kB / 2.847 GB, free: 54.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/7.18, allocations: 0.5551 MB / 2.848 GB, free: 54.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004878/7.185, allocations: 2.177 MB / 2.85 GB, free: 52.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.995e-05/7.185, allocations: 52 kB / 2.85 GB, free: 52.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005926/7.186, allocations: 96 kB / 2.85 GB, free: 52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0038/7.189, allocations: 1.822 MB / 2.852 GB, free: 50.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/7.193, allocations: 1.55 MB / 2.853 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/7.193, allocations: 4 kB / 2.853 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/7.194, allocations: 7.984 kB / 2.853 GB, free: 48.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/7.194, allocations: 40 kB / 2.853 GB, free: 48.53 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/7.205, allocations: 5.907 MB / 2.859 GB, free: 42.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/7.207, allocations: 1.8 MB / 2.861 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/7.208, allocations: 0.6322 MB / 2.861 GB, free: 39.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005462/7.208, allocations: 425.7 kB / 2.862 GB, free: 39.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/7.209, allocations: 0.8347 MB / 2.863 GB, free: 38.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 4.208e-06/7.209, allocations: 4 kB / 2.863 GB, free: 38.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003383/7.213, allocations: 1.541 MB / 2.864 GB, free: 37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/7.213, allocations: 256.6 kB / 2.864 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/7.216, allocations: 2.274 MB / 2.867 GB, free: 34.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/7.216, allocations: 29.7 kB / 2.867 GB, free: 34.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/7.216, allocations: 0.8895 MB / 2.868 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/7.217, allocations: 437.4 kB / 2.868 GB, free: 33.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/7.217, allocations: 0 / 2.868 GB, free: 33.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/7.217, allocations: 353.9 kB / 2.868 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/7.217, allocations: 466.4 kB / 2.869 GB, free: 32.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/7.218, allocations: 0.6748 MB / 2.869 GB, free: 31.49 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008409/7.219, allocations: 0.5511 MB / 2.87 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/7.219, allocations: 0 / 2.87 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002749/7.222, allocations: 1.506 MB / 2.871 GB, free: 29.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/7.222, allocations: 8 kB / 2.871 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/7.222, allocations: 0 / 2.871 GB, free: 29.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/7.223, allocations: 204.1 kB / 2.872 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/7.224, allocations: 311.6 kB / 2.872 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/7.228, allocations: 6.538 MB / 2.878 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/7.23, allocations: 131.1 kB / 2.878 GB, free: 21.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/7.23, allocations: 63.97 kB / 2.878 GB, free: 21.57 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.000371/7.23, allocations: 128.7 kB / 2.879 GB, free: 21.44 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002781/7.233, allocations: 1.51 MB / 2.88 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/7.234, allocations: 177.8 kB / 2.88 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/7.237, allocations: 1.909 MB / 2.882 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/7.237, allocations: 23.98 kB / 2.882 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/7.237, allocations: 0 / 2.882 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/7.237, allocations: 3.984 kB / 2.882 GB, free: 17.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/7.243, allocations: 3.836 MB / 2.886 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/7.243, allocations: 3.984 kB / 2.886 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/7.244, allocations: 331.6 kB / 2.886 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/7.245, allocations: 200.1 kB / 2.886 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/7.245, allocations: 31.97 kB / 2.886 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/7.249, allocations: 6.554 MB / 2.893 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.249, allocations: 0 / 2.893 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/7.252, allocations: 1.709 MB / 2.894 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/7.253, allocations: 0.6467 MB / 2.895 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/7.253, allocations: 7.938 kB / 2.895 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/7.255, allocations: 111.7 kB / 2.895 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/7.255, allocations: 113.1 kB / 2.895 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/7.255, allocations: 83.95 kB / 2.895 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001958/7.257, allocations: 1.774 MB / 2.897 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/7.257, allocations: 0 / 2.897 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002429/7.259, allocations: 0.7753 MB / 2.898 GB, free: 0.8906 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.5082/7.768, allocations: 3.848 MB / 2.902 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003268/7.771, allocations: 1.715 MB / 2.903 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/7.771, allocations: 5.625 kB / 2.903 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/7.773, allocations: 1.222 MB / 2.905 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/7.775, allocations: 440.8 kB / 2.905 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009414/7.785, allocations: 3.348 MB / 2.908 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/7.786, allocations: 1.556 MB / 2.91 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003157/7.789, allocations: 0.642 MB / 2.91 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/7.791, allocations: 0.9337 MB / 2.911 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/7.791, allocations: 0.5312 kB / 2.911 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/7.903, allocations: 54.85 MB / 2.965 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/7.903, allocations: 171 kB / 2.965 GB, free: 154 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.885/11.79, allocations: 4 kB / 2.965 GB, free: 154 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)