Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_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.004549/0.004549, allocations: 100.1 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.002049, allocations: 288.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.892/0.892, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 91.84 kB / 0.6809 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4442, allocations: 86.98 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1759/0.6202, allocations: 167.2 MB / 0.9292 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.6414, allocations: 17.23 MB / 0.946 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.6432, allocations: 31.81 kB / 0.946 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.6453, allocations: 0.5548 MB / 0.9466 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.6505, allocations: 1.723 MB / 0.9483 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.6542, allocations: 1.435 MB / 0.9497 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003429/0.6577, allocations: 2.677 MB / 0.9523 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.6605, allocations: 1.998 MB / 0.9542 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.6642, allocations: 1.436 MB / 0.9556 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4058/1.07, allocations: 1.09 MB / 0.9567 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001092/1.071, allocations: 221.7 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004339/1.075, allocations: 1.549 MB / 0.9584 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.077, allocations: 0.8006 MB / 0.9592 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002749/1.08, allocations: 1.235 MB / 0.9604 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007226/1.087, allocations: 3.683 MB / 0.964 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.087, allocations: 0.7188 kB / 0.964 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/1.087, allocations: 0 / 0.964 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001135/1.087, allocations: 0.9375 kB / 0.964 GB, free: 5.766 MB / 0.7169 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.006933/1.094, allocations: 2.893 MB / 0.9668 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.094, allocations: 8.688 kB / 0.9668 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003538/1.094, allocations: 251.9 kB / 0.9671 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/1.098, allocations: 0.5651 MB / 0.9676 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/1.103, allocations: 3.428 MB / 0.971 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/1.103, allocations: 131 kB / 0.9711 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/1.103, allocations: 167.4 kB / 0.9713 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/1.107, allocations: 1.96 MB / 0.9732 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/1.107, allocations: 1.25 kB / 0.9732 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/1.108, allocations: 75.56 kB / 0.9733 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/1.108, allocations: 39.75 kB / 0.9733 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/1.111, allocations: 2.119 MB / 0.9754 GB, free: 3.555 MB / 0.7169 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.009636/1.121, allocations: 6.333 MB / 0.9815 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/1.124, allocations: 2.13 MB / 0.9836 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.125, allocations: 0.773 MB / 0.9844 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/1.126, allocations: 429.7 kB / 0.9848 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/1.127, allocations: 1.016 MB / 0.9858 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/1.127, allocations: 0 / 0.9858 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006596/1.134, allocations: 2.995 MB / 0.9887 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.134, allocations: 203.9 kB / 0.9889 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/1.139, allocations: 4.068 MB / 0.9929 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002726/1.139, allocations: 62.95 kB / 0.9929 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006938/1.14, allocations: 0.8994 MB / 0.9938 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/1.14, allocations: 485.9 kB / 0.9943 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/1.141, allocations: 241.2 kB / 0.9945 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.141, allocations: 352.2 kB / 0.9948 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/1.142, allocations: 0.5824 MB / 0.9954 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/1.143, allocations: 0.809 MB / 0.9962 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/1.145, allocations: 1.337 MB / 0.9975 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.145, allocations: 2.406 kB / 0.9975 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003761/1.149, allocations: 1.792 MB / 0.9993 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.149, allocations: 8.469 kB / 0.9993 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.149, allocations: 0.6562 kB / 0.9993 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009584/1.15, allocations: 210.8 kB / 0.9995 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/1.152, allocations: 336.7 kB / 0.9998 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005499/1.157, allocations: 7.316 MB / 1.007 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.159, allocations: 162.7 kB / 1.007 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/1.159, allocations: 51.94 kB / 1.007 GB, free: 7.508 MB / 0.7325 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.001207/1.161, allocations: 494.6 kB / 1.008 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007589/1.161, allocations: 195.1 kB / 1.008 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/1.166, allocations: 2.152 MB / 1.01 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.166, allocations: 14.92 kB / 1.01 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.166, allocations: 3.594 kB / 1.01 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.166, allocations: 7.734 kB / 1.01 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007901/1.174, allocations: 4.133 MB / 1.014 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.174, allocations: 0 / 1.014 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.175, allocations: 321.5 kB / 1.014 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008297/1.176, allocations: 199.8 kB / 1.014 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.176, allocations: 43.22 kB / 1.014 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/1.182, allocations: 7.355 MB / 1.022 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.182, allocations: 64 / 1.022 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00468/1.187, allocations: 2.028 MB / 1.024 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.188, allocations: 0.5184 MB / 1.024 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005515/1.189, allocations: 35.22 kB / 1.024 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.19, allocations: 113.8 kB / 1.024 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/1.191, allocations: 110.2 kB / 1.024 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.191, allocations: 73.06 kB / 1.024 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003494/1.194, allocations: 3.128 MB / 1.028 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.194, allocations: 0 / 1.028 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002325/1.197, allocations: 0.6677 MB / 1.028 GB, free: 15.09 MB / 0.7481 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.006105/1.203, allocations: 3.233 MB / 1.031 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003311/1.206, allocations: 2.076 MB / 1.033 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.206, allocations: 6.5 kB / 1.033 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.208, allocations: 1.418 MB / 1.035 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/1.211, allocations: 0.5317 MB / 1.035 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/1.245, allocations: 21.17 MB / 1.056 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.247, allocations: 1.538 MB / 1.057 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001949/1.249, allocations: 0.5248 MB / 1.058 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.25, allocations: 0.9014 MB / 1.059 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of SimCode: time 6.72e-07/1.25, allocations: 0 / 1.059 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09958/1.35, allocations: 48.56 MB / 1.106 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.82, allocations: 14.86 kB / 1.106 GB, free: 6.043 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)