Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7003/0.7003, allocations: 128.7 MB / 144.5 MB, free: 1.359 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 189.7 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009235/0.0009235, allocations: 97.66 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 58.78 kB / 0.558 GB, free: 97.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1401, allocations: 75.47 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.00268/0.1429, allocations: 1.758 MB / 0.6334 GB, free: 31.22 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1445, allocations: 1.569 MB / 0.6349 GB, free: 29.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.1446, allocations: 0 / 0.6349 GB, free: 29.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.1448, allocations: 23.91 kB / 0.635 GB, free: 29.62 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.145, allocations: 31.84 kB / 0.635 GB, free: 29.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1452, allocations: 109.3 kB / 0.6351 GB, free: 29.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1454, allocations: 201.6 kB / 0.6353 GB, free: 29.29 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.1455, allocations: 20.22 kB / 0.6353 GB, free: 29.26 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.1456, allocations: 67.77 kB / 0.6354 GB, free: 29.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1458, allocations: 83.77 kB / 0.6355 GB, free: 29.11 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1458, allocations: 8 kB / 0.6355 GB, free: 29.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.146, allocations: 107.9 kB / 0.6356 GB, free: 29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.146, allocations: 67.81 kB / 0.6356 GB, free: 28.93 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.1461, allocations: 95.33 kB / 0.6357 GB, free: 28.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1464, allocations: 291.4 kB / 0.636 GB, free: 28.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1464, allocations: 0 / 0.636 GB, free: 28.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1464, allocations: 0 / 0.636 GB, free: 28.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1464, allocations: 0 / 0.636 GB, free: 28.55 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005916/0.147, allocations: 0.5228 MB / 0.6365 GB, free: 27.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.147, allocations: 8.031 kB / 0.6365 GB, free: 27.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1472, allocations: 40.56 kB / 0.6366 GB, free: 27.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1474, allocations: 255.8 kB / 0.6368 GB, free: 27.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1474, allocations: 15.94 kB / 0.6368 GB, free: 27.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1474, allocations: 12 kB / 0.6368 GB, free: 27.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1477, allocations: 191 kB / 0.637 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1477, allocations: 4 kB / 0.637 GB, free: 27.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1477, allocations: 4 kB / 0.637 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1477, allocations: 4 kB / 0.637 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.1483, allocations: 0.7411 MB / 0.6377 GB, free: 26.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.149, allocations: 0.5552 MB / 0.6383 GB, free: 26.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1494, allocations: 304.5 kB / 0.6386 GB, free: 25.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1495, allocations: 113.3 kB / 0.6387 GB, free: 25.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.15, allocations: 465.7 kB / 0.6391 GB, free: 25.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.1503, allocations: 175.3 kB / 0.6393 GB, free: 24.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.432e-06/0.1503, allocations: 0 / 0.6393 GB, free: 24.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005182/0.1508, allocations: 365.1 kB / 0.6396 GB, free: 24.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1509, allocations: 89.05 kB / 0.6397 GB, free: 24.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1511, allocations: 291.1 kB / 0.64 GB, free: 24.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1511, allocations: 33.7 kB / 0.64 GB, free: 24.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.1512, allocations: 120.7 kB / 0.6402 GB, free: 23.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.1512, allocations: 114.3 kB / 0.6403 GB, free: 23.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.1513, allocations: 65.69 kB / 0.6403 GB, free: 23.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.1513, allocations: 330.8 kB / 0.6406 GB, free: 23.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1515, allocations: 91.8 kB / 0.6407 GB, free: 23.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1516, allocations: 110.7 kB / 0.6408 GB, free: 23.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1519, allocations: 208.7 kB / 0.641 GB, free: 23.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1519, allocations: 0 / 0.641 GB, free: 23.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003409/0.1522, allocations: 285.6 kB / 0.6413 GB, free: 22.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1522, allocations: 4 kB / 0.6413 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1522, allocations: 0 / 0.6413 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1523, allocations: 4 kB / 0.6413 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.1525, allocations: 67.84 kB / 0.6414 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1525, allocations: 7.969 kB / 0.6414 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.1526, allocations: 15.84 kB / 0.6414 GB, free: 22.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1526, allocations: 15.98 kB / 0.6414 GB, free: 22.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.1527, allocations: 157.8 kB / 0.6416 GB, free: 22.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.1527, allocations: 27.62 kB / 0.6416 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.1533, allocations: 388.3 kB / 0.642 GB, free: 22.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-06/0.1533, allocations: 7.938 kB / 0.642 GB, free: 22.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1533, allocations: 0 / 0.642 GB, free: 22.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1533, allocations: 7.984 kB / 0.642 GB, free: 22.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1535, allocations: 325.2 kB / 0.6423 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1535, allocations: 0 / 0.6423 GB, free: 21.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1537, allocations: 63.91 kB / 0.6423 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1537, allocations: 0 / 0.6423 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1537, allocations: 8 kB / 0.6424 GB, free: 21.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1537, allocations: 3.938 kB / 0.6424 GB, free: 21.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1537, allocations: 7.984 kB / 0.6424 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.1544, allocations: 1.011 MB / 0.6434 GB, free: 20.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.1545, allocations: 132.7 kB / 0.6435 GB, free: 20.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1545, allocations: 8 kB / 0.6435 GB, free: 20.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.1546, allocations: 11.98 kB / 0.6435 GB, free: 20.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1546, allocations: 19.97 kB / 0.6435 GB, free: 20.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1547, allocations: 23.94 kB / 0.6435 GB, free: 20.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1548, allocations: 232.5 kB / 0.6438 GB, free: 20.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1548, allocations: 0 / 0.6438 GB, free: 20.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.1552, allocations: 75.92 kB / 0.6438 GB, free: 20.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008054/0.156, allocations: 408.9 kB / 0.6442 GB, free: 19.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1563, allocations: 235.5 kB / 0.6445 GB, free: 19.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1563, allocations: 0 / 0.6445 GB, free: 19.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1565, allocations: 123.9 kB / 0.6446 GB, free: 19.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1567, allocations: 32.59 kB / 0.6446 GB, free: 19.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.1575, allocations: 0.8187 MB / 0.6454 GB, free: 18.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.1577, allocations: 0.7649 MB / 0.6461 GB, free: 17.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.1579, allocations: 150.8 kB / 0.6463 GB, free: 17.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.158, allocations: 39.42 kB / 0.6463 GB, free: 17.57 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.158, allocations: 0 / 0.6463 GB, free: 17.57 MB / 442.7 MB Notification: Performance of Templates: time 0.005184/0.1632, allocations: 2.887 MB / 0.6491 GB, free: 14.72 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)