Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.006349/0.006353, allocations: 103 kB / 15.73 MB, free: 6.047 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.001556/0.001556, allocations: 196 kB / 16.68 MB, free: 5.965 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.226/1.226, 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/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.942/1.942, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 63.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5884, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.165/0.7535, allocations: 176 MB / 1.259 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.7673, allocations: 12.74 MB / 1.272 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000798/0.7682, allocations: 31.81 kB / 1.272 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009846/0.7692, allocations: 448.6 kB / 1.272 GB, free: 464 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.7711, allocations: 0.9664 MB / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.7745, allocations: 1.861 MB / 1.275 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001889/0.7764, allocations: 2.415 MB / 1.277 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.778, allocations: 1.629 MB / 1.279 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.7807, allocations: 1.396 MB / 1.28 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/0.7815, allocations: 0.8635 MB / 1.281 GB, free: 7.289 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.7816, allocations: 168 kB / 1.281 GB, free: 7.125 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.7836, allocations: 1.431 MB / 1.283 GB, free: 5.691 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.7839, allocations: 486.5 kB / 1.283 GB, free: 5.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.7846, allocations: 0.8552 MB / 1.284 GB, free: 4.355 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.7871, allocations: 2.761 MB / 1.287 GB, free: 1.586 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7872, allocations: 4 kB / 1.287 GB, free: 1.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7872, allocations: 0 / 1.287 GB, free: 1.582 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.7872, allocations: 0 / 1.287 GB, free: 1.582 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002871/0.7901, allocations: 2.009 MB / 1.289 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.7901, allocations: 12.03 kB / 1.289 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/0.7903, allocations: 206.7 kB / 1.289 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.7926, allocations: 401.5 kB / 1.289 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.794, allocations: 1.035 MB / 1.29 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.7941, allocations: 102.7 kB / 1.29 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.7943, allocations: 136 kB / 1.291 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.7965, allocations: 1.522 MB / 1.292 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.7965, allocations: 3.938 kB / 1.292 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.7966, allocations: 60 kB / 1.292 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.7967, allocations: 32 kB / 1.292 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.7991, allocations: 1.583 MB / 1.294 GB, free: 10.3 MB / 1.029 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.005941/0.805, allocations: 5.044 MB / 1.299 GB, free: 4.992 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.8074, allocations: 1.526 MB / 1.3 GB, free: 3.395 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.8081, allocations: 480.6 kB / 1.301 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/0.8088, allocations: 425.3 kB / 1.301 GB, free: 2.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.8099, allocations: 0.684 MB / 1.302 GB, free: 1.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 2.234e-06/0.8099, allocations: 4 kB / 1.302 GB, free: 1.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.003836/0.8137, allocations: 1.664 MB / 1.303 GB, free: 40 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/0.8139, allocations: 192.9 kB / 1.303 GB, free: 15.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009617/0.8148, allocations: 0.8882 MB / 1.304 GB, free: 14.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.098e-05/0.8149, allocations: 53.7 kB / 1.304 GB, free: 14.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.8153, allocations: 0.6052 MB / 1.305 GB, free: 14.22 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.8155, allocations: 347 kB / 1.305 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.8158, allocations: 198.5 kB / 1.305 GB, free: 13.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8159, allocations: 341.9 kB / 1.306 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.8167, allocations: 381.8 kB / 1.306 GB, free: 12.97 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.8175, allocations: 0.5554 MB / 1.307 GB, free: 12.35 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.8191, allocations: 0.9332 MB / 1.308 GB, free: 11.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8191, allocations: 0 / 1.308 GB, free: 11.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002351/0.8214, allocations: 1.188 MB / 1.309 GB, free: 10.17 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8214, allocations: 11.94 kB / 1.309 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8215, allocations: 4 kB / 1.309 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.822, allocations: 89.12 kB / 1.309 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/0.823, allocations: 247.6 kB / 1.309 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.8248, allocations: 1.646 MB / 1.311 GB, free: 8.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.8256, allocations: 135 kB / 1.311 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.8257, allocations: 47.97 kB / 1.311 GB, free: 7.855 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (123): * Single equations (assignments): 122 * 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.0004393/0.8262, allocations: 338 kB / 1.311 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.8264, allocations: 126.4 kB / 1.311 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.8292, allocations: 1.429 MB / 1.313 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.8292, allocations: 12 kB / 1.313 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.8292, allocations: 0 / 1.313 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.8292, allocations: 3.984 kB / 1.313 GB, free: 5.934 MB / 1.045 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 postOpt removeSimpleEquations (simulation): time 0.004122/0.8334, allocations: 2.887 MB / 1.316 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8334, allocations: 4 kB / 1.316 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/0.8343, allocations: 219.7 kB / 1.316 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.8347, allocations: 76.72 kB / 1.316 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.8348, allocations: 31.98 kB / 1.316 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.8364, allocations: 1.666 MB / 1.317 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8364, allocations: 0 / 1.317 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.8388, allocations: 1.33 MB / 1.319 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.8393, allocations: 359.1 kB / 1.319 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.8394, allocations: 27.92 kB / 1.319 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/0.8403, allocations: 79.92 kB / 1.319 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.8404, allocations: 88.81 kB / 1.319 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/0.8405, allocations: 47.97 kB / 1.319 GB, free: 14.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000699/0.8412, allocations: 0.6189 MB / 1.32 GB, free: 14.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8412, allocations: 0 / 1.32 GB, free: 14.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009844/0.8422, allocations: 482.8 kB / 1.32 GB, free: 13.76 MB / 1.061 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 (118): * Single equations (assignments): 112 * 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.003918/0.8462, allocations: 2.497 MB / 1.323 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.8482, allocations: 1.117 MB / 1.324 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8482, allocations: 0 / 1.324 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.8493, allocations: 0.6759 MB / 1.325 GB, free: 9.609 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.8512, allocations: 0.5121 MB / 1.325 GB, free: 9.113 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.8645, allocations: 8.993 MB / 1.334 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.8652, allocations: 1.209 MB / 1.335 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001041/0.8663, allocations: 381.8 kB / 1.335 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/0.867, allocations: 0.5773 MB / 1.336 GB, free: 13.73 MB / 1.076 GB Notification: Performance of SimCode: time 2.51e-07/0.867, allocations: 3.938 kB / 1.336 GB, free: 13.72 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5902/1.457, allocations: 33.42 MB / 1.369 GB, free: 12.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/16.11, allocations: 8.062 kB / 1.369 GB, free: 12.76 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)