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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 117.1 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 195.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8327/0.8327, allocations: 129.2 MB / 432.5 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 83.45 MB / 0.6802 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.19/0.5676, allocations: 169 MB / 0.8452 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02497/0.5926, allocations: 17.46 MB / 0.8623 GB, free: 2.91 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.5943, allocations: 31.81 kB / 0.8623 GB, free: 2.879 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.5963, allocations: 0.5894 MB / 0.8629 GB, free: 2.285 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00554/0.6019, allocations: 1.815 MB / 0.8647 GB, free: 476 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.3584/0.9603, allocations: 1.439 MB / 0.8661 GB, free: 3.164 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00398/0.9643, allocations: 2.879 MB / 0.8689 GB, free: 3.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.9669, allocations: 1.602 MB / 0.8704 GB, free: 3 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004741/0.9717, allocations: 1.477 MB / 0.8719 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.9739, allocations: 1.147 MB / 0.873 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006533/0.9745, allocations: 222.2 kB / 0.8732 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.9783, allocations: 1.599 MB / 0.8748 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.9794, allocations: 0.8202 MB / 0.8756 GB, free: 2.984 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.9819, allocations: 1.282 MB / 0.8768 GB, free: 2.957 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006078/0.988, allocations: 3.763 MB / 0.8805 GB, free: 2.367 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.988, allocations: 0 / 0.8805 GB, free: 2.367 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.903e-06/0.988, allocations: 0.6875 kB / 0.8805 GB, free: 2.367 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001046/0.9881, allocations: 0.5938 kB / 0.8805 GB, free: 2.367 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.007412/0.9955, allocations: 3.028 MB / 0.8835 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.9955, allocations: 10.84 kB / 0.8835 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003531/0.9959, allocations: 248.5 kB / 0.8837 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/1, allocations: 0.586 MB / 0.8843 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005435/1.005, allocations: 3.452 MB / 0.8877 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/1.006, allocations: 130.3 kB / 0.8878 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/1.006, allocations: 174.4 kB / 0.8879 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/1.01, allocations: 1.954 MB / 0.8899 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/1.01, allocations: 3.812 kB / 0.8899 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.01, allocations: 76.97 kB / 0.8899 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/1.01, allocations: 44.98 kB / 0.89 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/1.013, allocations: 2.115 MB / 0.892 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/1.024, allocations: 6.925 MB / 0.8988 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/1.027, allocations: 2.034 MB / 0.9008 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.028, allocations: 0.7151 MB / 0.9015 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/1.028, allocations: 427.5 kB / 0.9019 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/1.03, allocations: 1.024 MB / 0.9029 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.476e-06/1.03, allocations: 0 / 0.9029 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.006584/1.037, allocations: 3.008 MB / 0.9058 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.037, allocations: 196.6 kB / 0.906 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004385/1.041, allocations: 4.1 MB / 0.91 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004409/1.041, allocations: 58.73 kB / 0.9101 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/1.042, allocations: 0.9178 MB / 0.911 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/1.043, allocations: 0.4941 MB / 0.9115 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/1.043, allocations: 243.6 kB / 0.9117 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.044, allocations: 352.1 kB / 0.912 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/1.045, allocations: 0.5827 MB / 0.9126 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/1.046, allocations: 0.8114 MB / 0.9134 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/1.048, allocations: 1.332 MB / 0.9147 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.048, allocations: 0 / 0.9147 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004251/1.052, allocations: 1.806 MB / 0.9164 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.052, allocations: 8.25 kB / 0.9165 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.052, allocations: 2.969 kB / 0.9165 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.053, allocations: 209.1 kB / 0.9167 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.055, allocations: 331.8 kB / 0.917 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006428/1.061, allocations: 7.324 MB / 0.9241 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/1.063, allocations: 174.7 kB / 0.9243 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/1.064, allocations: 49.59 kB / 0.9243 GB, free: 3.109 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.065, allocations: 492.6 kB / 0.9248 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/1.065, allocations: 208.6 kB / 0.925 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/1.069, allocations: 2.154 MB / 0.9271 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.069, allocations: 15.72 kB / 0.9271 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/1.069, allocations: 0.9062 kB / 0.9271 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.069, allocations: 7.547 kB / 0.9271 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007177/1.077, allocations: 4.134 MB / 0.9312 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.077, allocations: 1.031 kB / 0.9312 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.078, allocations: 318.4 kB / 0.9315 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008349/1.079, allocations: 203.6 kB / 0.9317 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.079, allocations: 42.31 kB / 0.9317 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/1.085, allocations: 7.358 MB / 0.9389 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.085, allocations: 0 / 0.9389 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/1.089, allocations: 2.032 MB / 0.9409 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.091, allocations: 0.5277 MB / 0.9414 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/1.091, allocations: 34.53 kB / 0.9414 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.093, allocations: 106.6 kB / 0.9415 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.093, allocations: 111.3 kB / 0.9416 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.093, allocations: 76.55 kB / 0.9417 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003678/1.097, allocations: 3.142 MB / 0.9448 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.097, allocations: 0.9375 kB / 0.9448 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002764/1.099, allocations: 0.6953 MB / 0.9455 GB, free: 8.047 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007264/1.107, allocations: 3.261 MB / 0.9486 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003945/1.111, allocations: 2.019 MB / 0.9506 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.111, allocations: 1.562 kB / 0.9506 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002289/1.113, allocations: 1.374 MB / 0.952 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/1.116, allocations: 0.5629 MB / 0.9525 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03604/1.152, allocations: 21.17 MB / 0.9732 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.153, allocations: 1.542 MB / 0.9747 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002108/1.156, allocations: 0.5213 MB / 0.9752 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.157, allocations: 0.9015 MB / 0.9761 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of SimCode: time 9.51e-07/1.157, allocations: 3.094 kB / 0.9761 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.27, allocations: 49.91 MB / 1.025 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.88, allocations: 4.062 kB / 1.025 GB, free: 7.543 MB / 0.7794 GB " [Timeout remaining time 643] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.41995937237516] Failed to read output from testmodel.py, exit status != 0: 17.092681262176484 17.106547974 16.115619907 Calling exit ...