Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001002/0.001002, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007792/0.007792, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4799, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1475/0.6275, allocations: 171.5 MB / 1.191 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.6435, allocations: 15.48 MB / 1.206 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.6446, allocations: 27.81 kB / 1.206 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.6457, allocations: 0.5087 MB / 1.206 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.6485, allocations: 1.419 MB / 1.208 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.6514, allocations: 1.488 MB / 1.209 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.6538, allocations: 3.338 MB / 1.212 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.6554, allocations: 1.565 MB / 1.214 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/0.6584, allocations: 1.098 MB / 1.215 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.6592, allocations: 0.8746 MB / 1.216 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.6593, allocations: 52 kB / 1.216 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.6611, allocations: 1.333 MB / 1.217 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.6614, allocations: 406.3 kB / 1.218 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.662, allocations: 0.8561 MB / 1.218 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.6641, allocations: 2.854 MB / 1.221 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6641, allocations: 0 / 1.221 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6641, allocations: 3.938 kB / 1.221 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.6641, allocations: 0 / 1.221 GB, free: 4.234 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.002767/0.6669, allocations: 1.92 MB / 1.223 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.6669, allocations: 12.03 kB / 1.223 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.6672, allocations: 244.3 kB / 1.223 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.6698, allocations: 481 kB / 1.224 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.6711, allocations: 1.089 MB / 1.225 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.6712, allocations: 131.2 kB / 1.225 GB, free: 260 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.6714, allocations: 156 kB / 1.225 GB, free: 104 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.6739, allocations: 1.784 MB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.6739, allocations: 3.938 kB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.674, allocations: 71.98 kB / 1.227 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.6741, allocations: 48 kB / 1.227 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.6767, allocations: 1.784 MB / 1.229 GB, free: 12.32 MB / 0.9825 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.00646/0.6832, allocations: 6.218 MB / 1.235 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.6856, allocations: 1.571 MB / 1.236 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009092/0.6865, allocations: 0.5704 MB / 1.237 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.6872, allocations: 0.8828 MB / 1.238 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.6885, allocations: 0.7991 MB / 1.239 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=126): time 2.275e-06/0.6885, allocations: 4 kB / 1.239 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126): time 0.004144/0.6926, allocations: 1.902 MB / 1.24 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.6927, allocations: 196.9 kB / 1.241 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6938, allocations: 0.9798 MB / 1.242 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.731e-05/0.6939, allocations: 53.7 kB / 1.242 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.6944, allocations: 0.6646 MB / 1.242 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.6946, allocations: 417.9 kB / 1.243 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.6948, allocations: 93.66 kB / 1.243 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6949, allocations: 341.9 kB / 1.243 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008209/0.6957, allocations: 430.4 kB / 1.243 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009466/0.6967, allocations: 0.6053 MB / 1.244 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.6984, allocations: 1.023 MB / 1.245 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6985, allocations: 0 / 1.245 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002544/0.701, allocations: 1.312 MB / 1.246 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.701, allocations: 10.5 kB / 1.246 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.701, allocations: 0 / 1.246 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.7016, allocations: 88.92 kB / 1.246 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.7028, allocations: 279.6 kB / 1.247 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.7046, allocations: 1.562 MB / 1.248 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.7057, allocations: 170.9 kB / 1.248 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/0.7058, allocations: 47.97 kB / 1.248 GB, free: 7.168 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005093/0.7063, allocations: 374.8 kB / 1.249 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.7065, allocations: 146.2 kB / 1.249 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.7097, allocations: 1.625 MB / 1.251 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7097, allocations: 12 kB / 1.251 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7097, allocations: 0 / 1.251 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.7098, allocations: 7.969 kB / 1.251 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.7144, allocations: 3.173 MB / 1.254 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7144, allocations: 4 kB / 1.254 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.7156, allocations: 267.7 kB / 1.254 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.7161, allocations: 88.77 kB / 1.254 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.7161, allocations: 39.91 kB / 1.254 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3842/1.1, allocations: 1.553 MB / 1.256 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.1, allocations: 0.9844 kB / 1.256 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/1.105, allocations: 2.193 MB / 1.258 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005765/1.105, allocations: 412.2 kB / 1.258 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/1.105, allocations: 28.77 kB / 1.258 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.107, allocations: 140.1 kB / 1.258 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.107, allocations: 96.92 kB / 1.258 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.107, allocations: 61.94 kB / 1.258 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009122/1.108, allocations: 0.6816 MB / 1.259 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.108, allocations: 4.688 kB / 1.259 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001251/1.109, allocations: 0.5498 MB / 1.26 GB, free: 227.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005469/1.115, allocations: 3.345 MB / 1.263 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002522/1.117, allocations: 1.257 MB / 1.264 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.117, allocations: 1.812 kB / 1.264 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.119, allocations: 0.7594 MB / 1.265 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.121, allocations: 0.533 MB / 1.265 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.138, allocations: 11.47 MB / 1.277 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000807/1.139, allocations: 1.305 MB / 1.278 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001689/1.141, allocations: 452.5 kB / 1.278 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/1.142, allocations: 0.6582 MB / 1.279 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.142, allocations: 0 / 1.279 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4747/1.617, allocations: 35.4 MB / 1.313 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/1.617, allocations: 282.6 kB / 1.314 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/4.612, allocations: 0 / 1.314 GB, free: 189.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)