Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_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.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 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.001428/0.001428, allocations: 197.4 kB / 16.53 MB, free: 6.672 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.405/2.405, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5409, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1485/0.6894, allocations: 154.5 MB / 1.168 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.7026, allocations: 10.54 MB / 1.179 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007422/0.7033, allocations: 19.88 kB / 1.179 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008631/0.7042, allocations: 285.6 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.7069, allocations: 0.9681 MB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.7093, allocations: 1.077 MB / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.711, allocations: 1.709 MB / 1.183 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.7125, allocations: 1.142 MB / 1.184 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.7141, allocations: 0.7197 MB / 1.184 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007827/0.7149, allocations: 0.6263 MB / 1.185 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.7152, allocations: 132 kB / 1.185 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.717, allocations: 0.9948 MB / 1.186 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.7174, allocations: 390.8 kB / 1.186 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007507/0.7181, allocations: 0.6802 MB / 1.187 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.7207, allocations: 2.189 MB / 1.189 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7207, allocations: 0 / 1.189 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7207, allocations: 0 / 1.189 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.7207, allocations: 0 / 1.189 GB, free: 1.836 MB / 0.9356 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.003118/0.7238, allocations: 1.738 MB / 1.191 GB, free: 44 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.7239, allocations: 8.031 kB / 1.191 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.7241, allocations: 156.1 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.7258, allocations: 270.1 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.7273, allocations: 1.058 MB / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.7273, allocations: 74 kB / 1.192 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.7275, allocations: 92 kB / 1.193 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.7293, allocations: 1.11 MB / 1.194 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.7294, allocations: 3.938 kB / 1.194 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.7295, allocations: 44 kB / 1.194 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.7295, allocations: 24 kB / 1.194 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.7318, allocations: 1.323 MB / 1.195 GB, free: 11.8 MB / 0.9512 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.00497/0.7367, allocations: 3.489 MB / 1.198 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.7387, allocations: 1.107 MB / 1.199 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007572/0.7395, allocations: 415.7 kB / 1.2 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.7397, allocations: 146 kB / 1.2 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.7408, allocations: 0.6138 MB / 1.201 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.485e-06/0.7409, allocations: 0 / 1.201 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.004126/0.745, allocations: 1.627 MB / 1.202 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.7451, allocations: 204.9 kB / 1.202 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.7463, allocations: 1.025 MB / 1.203 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.7464, allocations: 49.7 kB / 1.203 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.7467, allocations: 472.5 kB / 1.204 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.7469, allocations: 303.5 kB / 1.204 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.7472, allocations: 174.5 kB / 1.204 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7473, allocations: 334 kB / 1.205 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.748, allocations: 333.8 kB / 1.205 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.7489, allocations: 473.1 kB / 1.205 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.7503, allocations: 0.7648 MB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7504, allocations: 0 / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002401/0.7528, allocations: 1.037 MB / 1.207 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7528, allocations: 13.5 kB / 1.207 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.7528, allocations: 4.141 kB / 1.207 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007333/0.7536, allocations: 117.6 kB / 1.207 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.7544, allocations: 195.7 kB / 1.208 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.7574, allocations: 3.076 MB / 1.211 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00084/0.7582, allocations: 107.3 kB / 1.211 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.7583, allocations: 39.91 kB / 1.211 GB, free: 11.04 MB / 0.9669 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.000475/0.7588, allocations: 304.8 kB / 1.211 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.759, allocations: 102.7 kB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.762, allocations: 1.318 MB / 1.212 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.762, allocations: 12 kB / 1.212 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7621, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.7621, allocations: 7.969 kB / 1.212 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.7661, allocations: 2.449 MB / 1.215 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7661, allocations: 0 / 1.215 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.767, allocations: 187.8 kB / 1.215 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/0.7675, allocations: 113.5 kB / 1.215 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.7676, allocations: 31.97 kB / 1.215 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.7704, allocations: 3.089 MB / 1.218 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.7704, allocations: 4.062 kB / 1.218 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.773, allocations: 1.227 MB / 1.219 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.7735, allocations: 327.3 kB / 1.22 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.7736, allocations: 24 kB / 1.22 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008551/0.7745, allocations: 75.91 kB / 1.22 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.7747, allocations: 84.83 kB / 1.22 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.7748, allocations: 52.03 kB / 1.22 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009033/0.7757, allocations: 0.7489 MB / 1.221 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7757, allocations: 3.938 kB / 1.221 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001367/0.7771, allocations: 451.1 kB / 1.221 GB, free: 56 kB / 0.9669 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.005168/0.7823, allocations: 2.4 MB / 1.223 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002983/0.7853, allocations: 1.357 MB / 1.225 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7853, allocations: 4 kB / 1.225 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.7865, allocations: 0.7373 MB / 1.225 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.788, allocations: 351.1 kB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.8014, allocations: 8.687 MB / 1.234 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/0.802, allocations: 1.11 MB / 1.235 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001064/0.8031, allocations: 315.9 kB / 1.236 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006092/0.8037, allocations: 463.2 kB / 1.236 GB, free: 500 kB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8037, allocations: 0 / 1.236 GB, free: 500 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.231/2.034, allocations: 27.99 MB / 1.263 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/15, allocations: 10.98 kB / 1.263 GB, free: 231.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)