Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",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.0007984/0.0007984, allocations: 98.58 kB / 16.02 MB, free: 80 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.0009745/0.0009744, allocations: 184.9 kB / 16.92 MB, free: 6.688 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.322/1.322, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7168/0.7168, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4123/0.5414, allocations: 163.9 MB / 0.7201 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.5607, allocations: 17.16 MB / 0.7368 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.5618, allocations: 27.81 kB / 0.7368 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.5631, allocations: 485 kB / 0.7373 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.567, allocations: 1.592 MB / 0.7389 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.5699, allocations: 1.27 MB / 0.7401 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002794/0.5727, allocations: 3.117 MB / 0.7431 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.5746, allocations: 1.667 MB / 0.7448 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004242/0.5789, allocations: 1.116 MB / 0.7459 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.5799, allocations: 0.9095 MB / 0.7468 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.58, allocations: 48 kB / 0.7468 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.5827, allocations: 1.513 MB / 0.7483 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.5832, allocations: 0.5953 MB / 0.7489 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009253/0.5841, allocations: 1.062 MB / 0.7499 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.5875, allocations: 3.539 MB / 0.7534 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5875, allocations: 0 / 0.7534 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5875, allocations: 0 / 0.7534 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.5875, allocations: 0 / 0.7534 GB, free: 0.5625 MB / 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.003902/0.5914, allocations: 2.444 MB / 0.7557 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5915, allocations: 12.03 kB / 0.7558 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/0.5918, allocations: 248.9 kB / 0.756 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003595/0.5954, allocations: 0.5706 MB / 0.7565 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/0.5989, allocations: 3.394 MB / 0.7599 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.025e-05/0.599, allocations: 135.3 kB / 0.76 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.5992, allocations: 167.9 kB / 0.7601 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/0.6024, allocations: 1.972 MB / 0.7621 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.6025, allocations: 4 kB / 0.7621 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.6026, allocations: 72 kB / 0.7621 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.6027, allocations: 40 kB / 0.7622 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/0.6062, allocations: 2.14 MB / 0.7643 GB, free: 5.191 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.00864/0.6148, allocations: 6.792 MB / 0.7709 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.6182, allocations: 2.157 MB / 0.773 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.6195, allocations: 0.7725 MB / 0.7738 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.62, allocations: 437.6 kB / 0.7742 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.6218, allocations: 1.021 MB / 0.7752 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.056e-06/0.6218, allocations: 0 / 0.7752 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006838/0.6286, allocations: 3.043 MB / 0.7782 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.6288, allocations: 197.2 kB / 0.7783 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/0.633, allocations: 4.069 MB / 0.7823 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.6331, allocations: 61.7 kB / 0.7824 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.6339, allocations: 0.9023 MB / 0.7833 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.6342, allocations: 477 kB / 0.7837 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.6344, allocations: 109.6 kB / 0.7838 GB, free: 500 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6345, allocations: 357.9 kB / 0.7842 GB, free: 136 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.6357, allocations: 0.5922 MB / 0.7847 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.6371, allocations: 0.8164 MB / 0.7855 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.6395, allocations: 1.357 MB / 0.7869 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6395, allocations: 0 / 0.7869 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003898/0.6434, allocations: 1.826 MB / 0.7886 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6435, allocations: 4 kB / 0.7886 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6435, allocations: 0 / 0.7886 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.6445, allocations: 216.2 kB / 0.7889 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.6461, allocations: 335.5 kB / 0.7892 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.6516, allocations: 6.813 MB / 0.7958 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.6531, allocations: 206.6 kB / 0.796 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.6532, allocations: 51.97 kB / 0.7961 GB, free: 3.141 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.000914/0.6542, allocations: 490.9 kB / 0.7965 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.6545, allocations: 189.7 kB / 0.7967 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.6592, allocations: 2.181 MB / 0.7988 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.6593, allocations: 16 kB / 0.7989 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.6593, allocations: 0 / 0.7989 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.6593, allocations: 7.969 kB / 0.7989 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/0.6665, allocations: 4.151 MB / 0.8029 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6665, allocations: 3.984 kB / 0.8029 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.668, allocations: 335.5 kB / 0.8032 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009867/0.669, allocations: 204.1 kB / 0.8034 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.6691, allocations: 43.91 kB / 0.8035 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00612/0.6752, allocations: 6.846 MB / 0.8102 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6753, allocations: 4.047 kB / 0.8102 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/0.6799, allocations: 2.049 MB / 0.8122 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.681, allocations: 0.5253 MB / 0.8127 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/0.6814, allocations: 28 kB / 0.8127 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.6831, allocations: 156.9 kB / 0.8129 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.6834, allocations: 113.1 kB / 0.813 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.6836, allocations: 71.94 kB / 0.813 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003509/0.6871, allocations: 3.128 MB / 0.8161 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6871, allocations: 8 kB / 0.8161 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002013/0.6891, allocations: 0.6859 MB / 0.8168 GB, free: 13.08 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.006304/0.6955, allocations: 3.249 MB / 0.8199 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003637/0.6991, allocations: 2.098 MB / 0.822 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6991, allocations: 8.547 kB / 0.822 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/0.7013, allocations: 1.426 MB / 0.8234 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.7041, allocations: 0.5292 MB / 0.8239 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2686/0.9727, allocations: 23.47 MB / 0.8468 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.9738, allocations: 1.53 MB / 0.8483 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00204/0.9759, allocations: 0.5328 MB / 0.8488 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.977, allocations: 0.8971 MB / 0.8497 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.977, allocations: 0 / 0.8497 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/1.037, allocations: 46.4 MB / 0.895 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/1.037, allocations: 286.6 kB / 0.8953 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/4.437, allocations: 0 / 0.8953 GB, free: 184.3 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)