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.004329/0.004329, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.001163/0.001163, allocations: 195.9 kB / 16.68 MB, free: 5.523 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002352/0.002352, allocations: 297.4 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.9475/0.9475, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 95.84 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3456, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.166/0.5117, allocations: 167.2 MB / 0.9292 GB, free: 12 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.5319, allocations: 17.23 MB / 0.946 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009271/0.5329, allocations: 31.81 kB / 0.9461 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.5342, allocations: 0.5274 MB / 0.9466 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.5379, allocations: 1.688 MB / 0.9482 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.541, allocations: 1.428 MB / 0.9496 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.5437, allocations: 2.681 MB / 0.9522 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.546, allocations: 1.998 MB / 0.9542 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.5494, allocations: 1.4 MB / 0.9555 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3136/0.863, allocations: 1.083 MB / 0.9566 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007241/0.8637, allocations: 222.2 kB / 0.9568 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.8668, allocations: 1.554 MB / 0.9583 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.8674, allocations: 0.8008 MB / 0.9591 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.8685, allocations: 1.232 MB / 0.9603 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.8725, allocations: 3.695 MB / 0.9639 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8726, allocations: 0 / 0.9639 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8726, allocations: 0.9688 kB / 0.9639 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-05/0.8726, allocations: 3.188 kB / 0.9639 GB, free: 5.711 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.004495/0.8771, allocations: 2.981 MB / 0.9668 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.8772, allocations: 9.625 kB / 0.9669 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002375/0.8774, allocations: 247.4 kB / 0.9671 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.8809, allocations: 0.583 MB / 0.9677 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.8839, allocations: 3.443 MB / 0.971 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.884, allocations: 131.2 kB / 0.9711 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.8842, allocations: 172.1 kB / 0.9713 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.8866, allocations: 1.95 MB / 0.9732 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.8867, allocations: 3.938 kB / 0.9732 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.8868, allocations: 74.47 kB / 0.9733 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.8869, allocations: 46.03 kB / 0.9733 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.8895, allocations: 2.112 MB / 0.9754 GB, free: 3.383 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.006719/0.8963, allocations: 6.347 MB / 0.9816 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.8988, allocations: 2.13 MB / 0.9837 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009611/0.8998, allocations: 0.7725 MB / 0.9844 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/0.9003, allocations: 427.8 kB / 0.9848 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.9017, allocations: 1.017 MB / 0.9858 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.746e-06/0.9017, allocations: 3.281 kB / 0.9858 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005459/0.9071, allocations: 3.007 MB / 0.9888 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.9073, allocations: 203 kB / 0.989 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/0.9104, allocations: 4.074 MB / 0.9929 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.9105, allocations: 60.67 kB / 0.993 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.911, allocations: 0.9078 MB / 0.9939 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.9112, allocations: 0.4973 MB / 0.9944 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.9116, allocations: 238.9 kB / 0.9946 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.9117, allocations: 352.8 kB / 0.9949 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008719/0.9126, allocations: 0.5848 MB / 0.9955 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009972/0.9136, allocations: 0.8131 MB / 0.9963 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.9155, allocations: 1.334 MB / 0.9976 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9155, allocations: 3 kB / 0.9976 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003189/0.9187, allocations: 1.807 MB / 0.9994 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9187, allocations: 7.344 kB / 0.9994 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9187, allocations: 2.578 kB / 0.9994 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009327/0.9196, allocations: 205.2 kB / 0.9996 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.921, allocations: 337.2 kB / 0.9999 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006079/0.9271, allocations: 7.315 MB / 1.007 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.9286, allocations: 174.7 kB / 1.007 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.9287, allocations: 48.66 kB / 1.007 GB, free: 7.254 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.0008732/0.9296, allocations: 490.8 kB / 1.008 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/0.93, allocations: 201.1 kB / 1.008 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.9339, allocations: 2.159 MB / 1.01 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.9339, allocations: 17.94 kB / 1.01 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9339, allocations: 0 / 1.01 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.934, allocations: 8.438 kB / 1.01 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005724/0.9397, allocations: 4.135 MB / 1.014 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9397, allocations: 1.5 kB / 1.014 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.941, allocations: 320.2 kB / 1.014 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007628/0.9418, allocations: 196 kB / 1.015 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/0.9419, allocations: 45.94 kB / 1.015 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005637/0.9475, allocations: 7.363 MB / 1.022 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9475, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.951, allocations: 2.037 MB / 1.024 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/0.9517, allocations: 0.5198 MB / 1.024 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.9519, allocations: 30.86 kB / 1.024 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.9531, allocations: 107.7 kB / 1.024 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.9533, allocations: 114.8 kB / 1.025 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.9534, allocations: 70.91 kB / 1.025 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002348/0.9558, allocations: 3.131 MB / 1.028 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9558, allocations: 0 / 1.028 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001668/0.9574, allocations: 0.6732 MB / 1.028 GB, free: 14.8 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.00531/0.9628, allocations: 3.243 MB / 1.032 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002752/0.9655, allocations: 2.08 MB / 1.034 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9655, allocations: 4.531 kB / 1.034 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.9674, allocations: 1.431 MB / 1.035 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.9694, allocations: 0.5389 MB / 1.035 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/0.999, allocations: 21.3 MB / 1.056 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1, allocations: 1.538 MB / 1.058 GB, free: 6.98 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00163/1.002, allocations: 0.5325 MB / 1.058 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.003, allocations: 0.8936 MB / 1.059 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of SimCode: time 6.51e-07/1.003, allocations: 0 / 1.059 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.398/7.401, allocations: 48.56 MB / 1.107 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/27.25, allocations: 17.69 kB / 1.107 GB, free: 5.727 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)