Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.006958/0.006958, allocations: 100.7 kB / 15.87 MB, free: 6.312 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.001739/0.001739, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.329/1.329, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6589/0.6589, allocations: 115.4 MB / 406 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.61 kB / 493 MB, free: 6.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 76.19 MB / 0.5558 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3644/0.4857, allocations: 152.2 MB / 0.7045 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.4985, allocations: 10.59 MB / 0.7148 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.4994, allocations: 19.88 kB / 0.7148 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008993/0.5003, allocations: 230.4 kB / 0.715 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.5027, allocations: 0.8342 MB / 0.7159 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.5048, allocations: 0.936 MB / 0.7168 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.5066, allocations: 1.705 MB / 0.7184 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.508, allocations: 1.059 MB / 0.7195 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.5097, allocations: 0.6326 MB / 0.7201 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.5104, allocations: 0.5833 MB / 0.7207 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.5106, allocations: 64 kB / 0.7207 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.5122, allocations: 0.9633 MB / 0.7217 GB, free: 13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.5125, allocations: 318.7 kB / 0.722 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006174/0.5132, allocations: 0.6099 MB / 0.7226 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.5154, allocations: 2.146 MB / 0.7247 GB, free: 9.926 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5154, allocations: 0 / 0.7247 GB, free: 9.926 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5154, allocations: 4 kB / 0.7247 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.102e-05/0.5155, allocations: 0 / 0.7247 GB, free: 9.922 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003029/0.5185, allocations: 1.735 MB / 0.7264 GB, free: 8.133 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5185, allocations: 8.031 kB / 0.7264 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.5187, allocations: 160.1 kB / 0.7265 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.5202, allocations: 270.1 kB / 0.7268 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.5214, allocations: 1.054 MB / 0.7278 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.5215, allocations: 74 kB / 0.7279 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.5216, allocations: 92 kB / 0.728 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.5233, allocations: 1.106 MB / 0.729 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.5233, allocations: 0 / 0.729 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.5234, allocations: 40 kB / 0.7291 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.5235, allocations: 24 kB / 0.7291 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.5255, allocations: 1.319 MB / 0.7304 GB, free: 3.91 MB / 0.545 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.004448/0.5299, allocations: 3.501 MB / 0.7338 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.5318, allocations: 1.104 MB / 0.7349 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.5325, allocations: 416 kB / 0.7353 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.5327, allocations: 142 kB / 0.7354 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000988/0.5337, allocations: 0.6176 MB / 0.736 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 2.264e-06/0.5337, allocations: 0 / 0.736 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.0038/0.5375, allocations: 1.635 MB / 0.7376 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.5376, allocations: 196.9 kB / 0.7378 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.5386, allocations: 1.021 MB / 0.7388 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.5387, allocations: 45.7 kB / 0.7388 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.539, allocations: 476.5 kB / 0.7393 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.5392, allocations: 307.5 kB / 0.7396 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.5395, allocations: 170.5 kB / 0.7398 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5396, allocations: 342 kB / 0.7401 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.5402, allocations: 329.8 kB / 0.7404 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.541, allocations: 473 kB / 0.7408 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.5424, allocations: 0.7687 MB / 0.7416 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5424, allocations: 0 / 0.7416 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002247/0.5446, allocations: 1.044 MB / 0.7426 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5447, allocations: 4 kB / 0.7426 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5447, allocations: 4 kB / 0.7426 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.5454, allocations: 113.6 kB / 0.7427 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.5462, allocations: 199.7 kB / 0.7429 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.5489, allocations: 2.85 MB / 0.7457 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.5497, allocations: 117.3 kB / 0.7458 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.5497, allocations: 43.89 kB / 0.7459 GB, free: 3.371 MB / 0.5606 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003913/0.5501, allocations: 306.2 kB / 0.7461 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.5503, allocations: 106.8 kB / 0.7463 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.5531, allocations: 1.318 MB / 0.7475 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.5531, allocations: 12 kB / 0.7476 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5531, allocations: 0 / 0.7476 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5531, allocations: 7.969 kB / 0.7476 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.5568, allocations: 2.442 MB / 0.7499 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5568, allocations: 0 / 0.7499 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/0.5576, allocations: 195.7 kB / 0.7501 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005834/0.5582, allocations: 113.6 kB / 0.7502 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.5582, allocations: 31.97 kB / 0.7503 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.5607, allocations: 2.879 MB / 0.7531 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5607, allocations: 64 / 0.7531 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.563, allocations: 1.227 MB / 0.7543 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.5634, allocations: 327.5 kB / 0.7546 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.5635, allocations: 24 kB / 0.7546 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/0.5643, allocations: 83.89 kB / 0.7547 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.5645, allocations: 92.75 kB / 0.7548 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/0.5646, allocations: 43.97 kB / 0.7548 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007742/0.5654, allocations: 0.7489 MB / 0.7556 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5654, allocations: 4 kB / 0.7556 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001035/0.5664, allocations: 455 kB / 0.756 GB, free: 8.582 MB / 0.5762 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004083/0.5705, allocations: 2.394 MB / 0.7583 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.5725, allocations: 1.099 MB / 0.7594 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5725, allocations: 4.188 kB / 0.7594 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.5736, allocations: 0.741 MB / 0.7601 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5749, allocations: 329.8 kB / 0.7604 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.5884, allocations: 9.13 MB / 0.7694 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.5891, allocations: 1.103 MB / 0.7704 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00102/0.5901, allocations: 315.9 kB / 0.7707 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.5907, allocations: 467.2 kB / 0.7712 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of SimCode: time 1.673e-06/0.5907, allocations: 0 / 0.7712 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.73/9.321, allocations: 27.01 MB / 0.7976 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003943/9.321, allocations: 292.4 kB / 0.7978 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/14.87, allocations: 3.25 kB / 0.7978 GB, free: 13.89 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)