Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",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.005408/0.005408, allocations: 97.59 kB / 15.73 MB, free: 6 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.001405/0.001405, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.447/2.447, allocations: 437.1 MB / 0.7106 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 75.88 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2383, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006786/0.2451, allocations: 5.628 MB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6067/0.8518, allocations: 150.9 MB / 1.319 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008042/0.8527, allocations: 26.62 kB / 1.319 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.8534, allocations: 356.4 kB / 1.319 GB, free: 9.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.8549, allocations: 0.5647 MB / 1.32 GB, free: 9.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.8565, allocations: 0.8722 MB / 1.321 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.8577, allocations: 1.561 MB / 1.322 GB, free: 8.605 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000834/0.8585, allocations: 0.7589 MB / 1.323 GB, free: 8.402 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.859, allocations: 0.5381 MB / 1.324 GB, free: 8.273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.8596, allocations: 0.5752 MB / 1.324 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.8598, allocations: 131.5 kB / 1.324 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.8605, allocations: 497.8 kB / 1.325 GB, free: 8.078 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.8608, allocations: 342.8 kB / 1.325 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.8613, allocations: 0.6571 MB / 1.326 GB, free: 7.445 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.8632, allocations: 1.927 MB / 1.328 GB, free: 6.613 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8633, allocations: 1.312 kB / 1.328 GB, free: 6.613 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8633, allocations: 4 kB / 1.328 GB, free: 6.609 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.8633, allocations: 3.938 kB / 1.328 GB, free: 6.605 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002486/0.8658, allocations: 1.729 MB / 1.329 GB, free: 5.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.8658, allocations: 9.062 kB / 1.329 GB, free: 5.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.866, allocations: 155.5 kB / 1.329 GB, free: 5.328 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/0.8668, allocations: 228.3 kB / 1.33 GB, free: 5.238 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.868, allocations: 0.9258 MB / 1.331 GB, free: 4.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.8681, allocations: 70.75 kB / 1.331 GB, free: 4.633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.8682, allocations: 97.62 kB / 1.331 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.8698, allocations: 1.03 MB / 1.332 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.8698, allocations: 1.188 kB / 1.332 GB, free: 4.133 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.8699, allocations: 42 kB / 1.332 GB, free: 4.102 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.8699, allocations: 24.66 kB / 1.332 GB, free: 4.102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.8716, allocations: 1.172 MB / 1.333 GB, free: 3.824 MB / 1.014 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.003793/0.8754, allocations: 3.012 MB / 1.336 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.8767, allocations: 0.792 MB / 1.337 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.8772, allocations: 308.5 kB / 1.337 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.8773, allocations: 33.89 kB / 1.337 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007481/0.8781, allocations: 492 kB / 1.337 GB, free: 1.387 MB / 1.014 GB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.8781, allocations: 3.75 kB / 1.337 GB, free: 1.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=78): time 0.002823/0.8809, allocations: 1.211 MB / 1.339 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.881, allocations: 193.3 kB / 1.339 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009054/0.8819, allocations: 0.8019 MB / 1.34 GB, free: 304 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.882, allocations: 38.39 kB / 1.34 GB, free: 264 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.8824, allocations: 0.5207 MB / 1.34 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.8826, allocations: 268.3 kB / 1.34 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.8828, allocations: 141.1 kB / 1.341 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.883, allocations: 336.1 kB / 1.341 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.8835, allocations: 245.9 kB / 1.341 GB, free: 15.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.884, allocations: 358.8 kB / 1.341 GB, free: 14.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.8851, allocations: 0.5758 MB / 1.342 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8851, allocations: 0 / 1.342 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00175/0.8868, allocations: 0.8204 MB / 1.343 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8868, allocations: 4.781 kB / 1.343 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.8869, allocations: 1.25 kB / 1.343 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.8874, allocations: 84.53 kB / 1.343 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.888, allocations: 150.2 kB / 1.343 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.89, allocations: 1.647 MB / 1.345 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.8906, allocations: 89.39 kB / 1.345 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.8907, allocations: 34.58 kB / 1.345 GB, free: 12.73 MB / 1.029 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 (84): * Single equations (assignments): 83 * 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.0004232/0.8911, allocations: 289.4 kB / 1.345 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.8913, allocations: 106 kB / 1.345 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.8935, allocations: 1.068 MB / 1.346 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.8935, allocations: 12.91 kB / 1.346 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8935, allocations: 8.906 kB / 1.346 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.8935, allocations: 4.359 kB / 1.346 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.8946, allocations: 1.008 MB / 1.347 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8946, allocations: 5.094 kB / 1.347 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.8951, allocations: 141.8 kB / 1.347 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/0.8955, allocations: 69.83 kB / 1.347 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.8956, allocations: 29.61 kB / 1.347 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.8975, allocations: 1.672 MB / 1.349 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8975, allocations: 3.75 kB / 1.349 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.8994, allocations: 0.9477 MB / 1.35 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.8997, allocations: 297.4 kB / 1.35 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.8999, allocations: 17.47 kB / 1.35 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.9004, allocations: 61.17 kB / 1.35 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.9006, allocations: 72.19 kB / 1.35 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.9006, allocations: 35.27 kB / 1.35 GB, free: 9.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006865/0.9013, allocations: 0.5633 MB / 1.351 GB, free: 8.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9013, allocations: 0 / 1.351 GB, free: 8.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008951/0.9022, allocations: 344.1 kB / 1.351 GB, free: 8.863 MB / 1.029 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * 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.003728/0.906, allocations: 1.994 MB / 1.353 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.9075, allocations: 0.7993 MB / 1.354 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9075, allocations: 1.094 kB / 1.354 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.9083, allocations: 0.5164 MB / 1.355 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.9099, allocations: 478.5 kB / 1.355 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009638/0.9195, allocations: 7.003 MB / 1.362 GB, free: 3.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.9201, allocations: 1.102 MB / 1.363 GB, free: 2.156 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007733/0.9209, allocations: 288.4 kB / 1.363 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.9215, allocations: 466.2 kB / 1.364 GB, free: 1.633 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.9215, allocations: 4 kB / 1.364 GB, free: 1.629 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.315/2.237, allocations: 25.79 MB / 1.389 GB, free: 272 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.11/20.35, allocations: 16 kB / 1.389 GB, free: 256 kB / 1.045 GB (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)