Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_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.001767/0.001767, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5313/0.5313, allocations: 90.91 MB / 99.34 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 99.27 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.867e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 72.32 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.474/4.631, allocations: 1.891 GB / 2.445 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/4.631, allocations: 83.95 kB / 2.445 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.543/6.174, allocations: 317.8 MB / 2.755 GB, free: 133 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/6.174, allocations: 0 / 2.755 GB, free: 133 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000298/6.175, allocations: 57.59 kB / 2.755 GB, free: 133 MB / 0.6042 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.006512/6.181, allocations: 2.132 MB / 2.757 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/6.181, allocations: 11.69 kB / 2.757 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/6.186, allocations: 0.5522 MB / 2.758 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/6.191, allocations: 2.176 MB / 2.76 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/6.191, allocations: 55.12 kB / 2.76 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/6.191, allocations: 96.69 kB / 2.76 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002826/6.194, allocations: 1.817 MB / 2.762 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/6.197, allocations: 1.552 MB / 2.763 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/6.197, allocations: 11.08 kB / 2.763 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/6.197, allocations: 2.078 kB / 2.763 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/6.197, allocations: 42.22 kB / 2.763 GB, free: 131.4 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009874/6.207, allocations: 5.906 MB / 2.769 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/6.209, allocations: 1.806 MB / 2.771 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/6.21, allocations: 0.6309 MB / 2.772 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/6.21, allocations: 418.4 kB / 2.772 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/6.212, allocations: 0.8342 MB / 2.773 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.036e-06/6.212, allocations: 0 / 2.773 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.00368/6.215, allocations: 1.553 MB / 2.774 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/6.215, allocations: 249.8 kB / 2.775 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/6.219, allocations: 2.272 MB / 2.777 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/6.219, allocations: 31.95 kB / 2.777 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007655/6.22, allocations: 0.894 MB / 2.778 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/6.22, allocations: 437.4 kB / 2.778 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/6.22, allocations: 3.906 kB / 2.778 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/6.22, allocations: 344.3 kB / 2.778 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/6.221, allocations: 476 kB / 2.779 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/6.222, allocations: 0.664 MB / 2.78 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/6.223, allocations: 0.5559 MB / 2.78 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/6.223, allocations: 4.703 kB / 2.78 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003058/6.226, allocations: 1.501 MB / 2.782 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/6.226, allocations: 8.719 kB / 2.782 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/6.226, allocations: 0 / 2.782 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000985/6.227, allocations: 201.4 kB / 2.782 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/6.228, allocations: 314.7 kB / 2.782 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/6.232, allocations: 6.532 MB / 2.788 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/6.234, allocations: 132.3 kB / 2.789 GB, free: 121 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/6.235, allocations: 79.91 kB / 2.789 GB, free: 121 MB / 0.6042 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.0003702/6.235, allocations: 125.1 kB / 2.789 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003206/6.238, allocations: 1.501 MB / 2.79 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/6.239, allocations: 180.4 kB / 2.79 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/6.243, allocations: 1.902 MB / 2.792 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/6.243, allocations: 22.8 kB / 2.792 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/6.243, allocations: 0 / 2.792 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/6.243, allocations: 3.844 kB / 2.792 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/6.25, allocations: 3.851 MB / 2.796 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/6.25, allocations: 3.156 kB / 2.796 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/6.251, allocations: 326.9 kB / 2.796 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008842/6.252, allocations: 211.8 kB / 2.797 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/6.252, allocations: 26.12 kB / 2.797 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/6.257, allocations: 6.555 MB / 2.803 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/6.257, allocations: 3.75 kB / 2.803 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/6.261, allocations: 1.694 MB / 2.805 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/6.263, allocations: 0.6639 MB / 2.805 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/6.263, allocations: 3.594 kB / 2.805 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/6.265, allocations: 110.3 kB / 2.805 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/6.265, allocations: 103.5 kB / 2.805 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/6.265, allocations: 91.41 kB / 2.806 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002549/6.268, allocations: 1.783 MB / 2.807 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/6.268, allocations: 0 / 2.807 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003135/6.271, allocations: 0.7634 MB / 2.808 GB, free: 113.2 MB / 0.6042 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.006067/6.277, allocations: 3.86 MB / 2.812 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002775/6.28, allocations: 1.719 MB / 2.814 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/6.28, allocations: 6.938 kB / 2.814 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/6.281, allocations: 1.221 MB / 2.815 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/6.284, allocations: 427.8 kB / 2.815 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008676/6.293, allocations: 3.356 MB / 2.818 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/6.294, allocations: 1.554 MB / 2.82 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002567/6.296, allocations: 0.6564 MB / 2.821 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/6.298, allocations: 0.927 MB / 2.821 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.094e-06/6.298, allocations: 0 / 2.821 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0942/6.392, allocations: 54.86 MB / 2.875 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/6.392, allocations: 174.1 kB / 2.875 GB, free: 75.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/10.42, allocations: 0 / 2.875 GB, free: 75.29 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)