Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",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.004976/0.004976, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001339/0.001339, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002402/0.002402, allocations: 293.7 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.9636/0.9636, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 99.86 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4041, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.1936/0.5977, allocations: 167.2 MB / 0.9292 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.6194, allocations: 17.23 MB / 0.946 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.6208, allocations: 31.81 kB / 0.946 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.6222, allocations: 0.5235 MB / 0.9465 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.6266, allocations: 1.675 MB / 0.9482 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.63, allocations: 1.423 MB / 0.9495 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.6331, allocations: 2.661 MB / 0.9521 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.6357, allocations: 1.99 MB / 0.9541 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00386/0.6395, allocations: 1.392 MB / 0.9554 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.368/1.008, allocations: 1.078 MB / 0.9565 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008702/1.008, allocations: 222.7 kB / 0.9567 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/1.012, allocations: 1.552 MB / 0.9582 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008576/1.013, allocations: 0.7934 MB / 0.959 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/1.014, allocations: 1.233 MB / 0.9602 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005709/1.02, allocations: 3.677 MB / 0.9638 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.02, allocations: 0 / 0.9638 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/1.02, allocations: 0 / 0.9638 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.071e-05/1.02, allocations: 0.5625 kB / 0.9638 GB, free: 5.738 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005384/1.026, allocations: 2.956 MB / 0.9667 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.026, allocations: 10.94 kB / 0.9667 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003432/1.026, allocations: 251.6 kB / 0.9669 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/1.03, allocations: 0.581 MB / 0.9675 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/1.035, allocations: 3.433 MB / 0.9709 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/1.035, allocations: 132.7 kB / 0.971 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/1.035, allocations: 166.4 kB / 0.9711 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/1.038, allocations: 1.947 MB / 0.973 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/1.038, allocations: 0 / 0.973 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/1.038, allocations: 73.5 kB / 0.9731 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/1.038, allocations: 44.81 kB / 0.9732 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/1.041, allocations: 2.09 MB / 0.9752 GB, free: 3.414 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.008143/1.049, allocations: 6.187 MB / 0.9812 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/1.052, allocations: 2.095 MB / 0.9833 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/1.053, allocations: 0.7657 MB / 0.984 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/1.054, allocations: 429.2 kB / 0.9844 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/1.055, allocations: 1.008 MB / 0.9854 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.025e-06/1.055, allocations: 0 / 0.9854 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006087/1.061, allocations: 2.977 MB / 0.9883 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.062, allocations: 200.4 kB / 0.9885 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/1.065, allocations: 4.051 MB / 0.9925 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/1.066, allocations: 57.77 kB / 0.9925 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/1.066, allocations: 0.9008 MB / 0.9934 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/1.066, allocations: 0.4935 MB / 0.9939 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/1.067, allocations: 236.5 kB / 0.9941 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.067, allocations: 360.2 kB / 0.9945 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008852/1.068, allocations: 0.5677 MB / 0.995 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/1.069, allocations: 0.7976 MB / 0.9958 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/1.071, allocations: 1.311 MB / 0.9971 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/1.071, allocations: 0 / 0.9971 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00347/1.074, allocations: 1.782 MB / 0.9988 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.074, allocations: 6.562 kB / 0.9988 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.074, allocations: 3.688 kB / 0.9988 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/1.075, allocations: 210.8 kB / 0.999 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.077, allocations: 321.5 kB / 0.9993 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/1.083, allocations: 7.322 MB / 1.006 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.085, allocations: 159.1 kB / 1.007 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.085, allocations: 52.91 kB / 1.007 GB, free: 7.301 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 (144): * Single equations (assignments): 139 * 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.001041/1.086, allocations: 493.2 kB / 1.007 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/1.087, allocations: 197.5 kB / 1.007 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/1.091, allocations: 2.133 MB / 1.009 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.091, allocations: 16.28 kB / 1.009 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.091, allocations: 6.25 kB / 1.009 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.091, allocations: 12.25 kB / 1.009 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/1.097, allocations: 4.103 MB / 1.013 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.097, allocations: 0 / 1.013 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.099, allocations: 317.5 kB / 1.014 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008302/1.099, allocations: 210.5 kB / 1.014 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/1.1, allocations: 39.55 kB / 1.014 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006285/1.106, allocations: 7.353 MB / 1.021 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.106, allocations: 3.438 kB / 1.021 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/1.11, allocations: 2.012 MB / 1.023 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.112, allocations: 0.5112 MB / 1.024 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005498/1.112, allocations: 32.59 kB / 1.024 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.114, allocations: 108.9 kB / 1.024 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/1.114, allocations: 113.6 kB / 1.024 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.114, allocations: 73.61 kB / 1.024 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00344/1.118, allocations: 3.118 MB / 1.027 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.02e-07/1.118, allocations: 0.8438 kB / 1.027 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002499/1.12, allocations: 0.6676 MB / 1.028 GB, free: 14.86 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.006394/1.127, allocations: 3.232 MB / 1.031 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003267/1.13, allocations: 2.052 MB / 1.033 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.13, allocations: 2.406 kB / 1.033 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.132, allocations: 1.421 MB / 1.034 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/1.135, allocations: 0.5334 MB / 1.035 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03273/1.167, allocations: 21.09 MB / 1.055 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.169, allocations: 1.532 MB / 1.057 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001794/1.17, allocations: 0.5383 MB / 1.057 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.172, allocations: 0.9015 MB / 1.058 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of SimCode: time 9.61e-07/1.172, allocations: 1.531 kB / 1.058 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.276, allocations: 48.15 MB / 1.105 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.76, allocations: 12.39 kB / 1.105 GB, free: 6.992 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)