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) 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/Modelica 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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007706/0.0007706, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 182 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6854/0.6854, allocations: 115.5 MB / 407.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 11.94 kB / 496 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4113/0.5564, allocations: 163.9 MB / 0.7201 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.5779, allocations: 17.15 MB / 0.7368 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.5793, allocations: 27.81 kB / 0.7369 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.5809, allocations: 485 kB / 0.7373 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.5855, allocations: 1.6 MB / 0.7389 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.5888, allocations: 1.281 MB / 0.7401 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003443/0.5922, allocations: 3.11 MB / 0.7432 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.5946, allocations: 1.676 MB / 0.7448 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/0.5995, allocations: 1.107 MB / 0.7459 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.601, allocations: 0.9173 MB / 0.7468 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.6013, allocations: 52 kB / 0.7468 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.6043, allocations: 1.505 MB / 0.7483 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007431/0.6051, allocations: 0.6109 MB / 0.7489 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.6067, allocations: 1.066 MB / 0.7499 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.6116, allocations: 3.55 MB / 0.7534 GB, free: 436 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6116, allocations: 0 / 0.7534 GB, free: 436 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6116, allocations: 0 / 0.7534 GB, free: 436 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.737e-05/0.6117, allocations: 0 / 0.7534 GB, free: 436 kB / 0.5606 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.004938/0.6167, allocations: 2.452 MB / 0.7558 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6167, allocations: 8.031 kB / 0.7558 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005203/0.6173, allocations: 256.9 kB / 0.756 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/0.6213, allocations: 0.5745 MB / 0.7566 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.6259, allocations: 3.406 MB / 0.7599 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.626, allocations: 127.4 kB / 0.7601 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.6264, allocations: 168 kB / 0.7602 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.6304, allocations: 1.976 MB / 0.7621 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.6304, allocations: 0 / 0.7621 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.6306, allocations: 76 kB / 0.7622 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.6306, allocations: 40 kB / 0.7623 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/0.6344, allocations: 2.136 MB / 0.7643 GB, free: 5.035 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01018/0.6446, allocations: 6.785 MB / 0.771 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.6482, allocations: 2.152 MB / 0.7731 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.6496, allocations: 0.7803 MB / 0.7738 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.6501, allocations: 433.6 kB / 0.7742 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001802/0.6519, allocations: 1.021 MB / 0.7752 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/0.6519, allocations: 0 / 0.7752 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.007052/0.659, allocations: 3.043 MB / 0.7782 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.6591, allocations: 197.2 kB / 0.7784 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/0.6637, allocations: 4.098 MB / 0.7824 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.6639, allocations: 57.64 kB / 0.7825 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/0.6646, allocations: 0.9024 MB / 0.7833 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/0.6651, allocations: 481 kB / 0.7838 GB, free: 440 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.6652, allocations: 97.66 kB / 0.7839 GB, free: 336 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6654, allocations: 357.9 kB / 0.7842 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.6666, allocations: 0.5921 MB / 0.7848 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.668, allocations: 0.8164 MB / 0.7856 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.6705, allocations: 1.36 MB / 0.7869 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6705, allocations: 0 / 0.7869 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004048/0.6746, allocations: 1.822 MB / 0.7887 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6746, allocations: 4 kB / 0.7887 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6746, allocations: 0 / 0.7887 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.6758, allocations: 216.2 kB / 0.7889 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.6775, allocations: 339.5 kB / 0.7892 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.6831, allocations: 6.825 MB / 0.7959 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.6849, allocations: 194.9 kB / 0.7961 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.685, allocations: 47.97 kB / 0.7961 GB, free: 2.984 MB / 0.6075 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.001018/0.6861, allocations: 0.4913 MB / 0.7966 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004593/0.6865, allocations: 197.6 kB / 0.7968 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.6913, allocations: 2.173 MB / 0.7989 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.6914, allocations: 16 kB / 0.799 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.6914, allocations: 8 kB / 0.799 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.6914, allocations: 7.969 kB / 0.799 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007418/0.6988, allocations: 4.159 MB / 0.803 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.6989, allocations: 4 kB / 0.803 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.7004, allocations: 323.5 kB / 0.8033 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009947/0.7014, allocations: 212.1 kB / 0.8035 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.7015, allocations: 43.95 kB / 0.8036 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/0.7069, allocations: 6.846 MB / 0.8103 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.707, allocations: 0 / 0.8103 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/0.7113, allocations: 2.038 MB / 0.8123 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7124, allocations: 0.5331 MB / 0.8128 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/0.7129, allocations: 28 kB / 0.8128 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.7145, allocations: 164.7 kB / 0.813 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.7148, allocations: 113.1 kB / 0.8131 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.715, allocations: 75.95 kB / 0.8131 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003569/0.7185, allocations: 3.149 MB / 0.8162 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7186, allocations: 0 / 0.8162 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001928/0.7205, allocations: 0.6899 MB / 0.8169 GB, free: 12.88 MB / 0.6387 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.006114/0.7266, allocations: 3.248 MB / 0.8201 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003607/0.7302, allocations: 2.094 MB / 0.8221 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7303, allocations: 4.547 kB / 0.8221 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.7324, allocations: 1.442 MB / 0.8235 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.735, allocations: 0.5219 MB / 0.824 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3066/1.042, allocations: 23.59 MB / 0.8471 GB, free: 220 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.043, allocations: 1.534 MB / 0.8486 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002241/1.045, allocations: 0.5283 MB / 0.8491 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.046, allocations: 0.9032 MB / 0.85 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/1.046, allocations: 3.141 kB / 0.85 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08763/1.134, allocations: 46.61 MB / 0.8955 GB, free: 184 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/1.134, allocations: 290.2 kB / 0.8958 GB, free: 183.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.309/4.443, allocations: 0 / 0.8958 GB, free: 183.6 MB / 0.6387 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/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)