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.757/0.757, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001027/0.001027, allocations: 183.2 kB / 173.8 MB, free: 6.121 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.636/1.636, allocations: 205.4 MB / 409 MB, free: 10.5 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.001091/0.001091, allocations: 90.8 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003333, allocations: 9.25 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 76.76 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.3282, allocations: 106.3 MB / 0.7391 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.3285, allocations: 99.88 kB / 0.7392 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4106/0.7391, allocations: 6.953 MB / 0.746 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7392, allocations: 0.6094 kB / 0.746 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.7392, allocations: 9.5 kB / 0.746 GB, free: 107.9 MB / 0.5105 GB 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.0007488/0.74, allocations: 0.5084 MB / 0.7465 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.74, allocations: 11.23 kB / 0.7465 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.7402, allocations: 27.92 kB / 0.7466 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.7406, allocations: 266.2 kB / 0.7468 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.7406, allocations: 14.28 kB / 0.7468 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.7406, allocations: 12.94 kB / 0.7468 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.741, allocations: 193.7 kB / 0.747 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7411, allocations: 0 / 0.747 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.7411, allocations: 7.734 kB / 0.747 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.7411, allocations: 3.469 kB / 0.747 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.7423, allocations: 0.7374 MB / 0.7477 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.7434, allocations: 0.5704 MB / 0.7483 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.744, allocations: 301.2 kB / 0.7486 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006952/0.7447, allocations: 455.6 kB / 0.749 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.7451, allocations: 183.4 kB / 0.7492 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.556e-06/0.7451, allocations: 3.562 kB / 0.7492 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0007118/0.7459, allocations: 355.7 kB / 0.7495 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.7459, allocations: 88.28 kB / 0.7496 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.7463, allocations: 256.5 kB / 0.7499 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.7463, allocations: 33.59 kB / 0.7499 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.7464, allocations: 116.7 kB / 0.75 GB, free: 106 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/0.7465, allocations: 111.8 kB / 0.7501 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.7465, allocations: 7.625 kB / 0.7501 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7467, allocations: 334.6 kB / 0.7505 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.7468, allocations: 89.64 kB / 0.7505 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.747, allocations: 107.9 kB / 0.7506 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.7472, allocations: 100.8 kB / 0.7507 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7472, allocations: 2.625 kB / 0.7507 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004193/0.7476, allocations: 278.9 kB / 0.751 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.7476, allocations: 6.562 kB / 0.751 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7477, allocations: 0.5625 kB / 0.751 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.7477, allocations: 6.453 kB / 0.751 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.7479, allocations: 60.89 kB / 0.7511 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.7479, allocations: 6.656 kB / 0.7511 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.748, allocations: 26.83 kB / 0.7511 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.7481, allocations: 11.89 kB / 0.7511 GB, free: 105.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.7482, allocations: 159 kB / 0.7513 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.7483, allocations: 29.3 kB / 0.7513 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.7489, allocations: 393.2 kB / 0.7517 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.749, allocations: 10.52 kB / 0.7517 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.749, allocations: 2.625 kB / 0.7517 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.749, allocations: 3.828 kB / 0.7517 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.7493, allocations: 331.9 kB / 0.752 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7493, allocations: 0.5625 kB / 0.752 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.7495, allocations: 59.19 kB / 0.7521 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.7495, allocations: 0 / 0.7521 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.7495, allocations: 12.25 kB / 0.7521 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7496, allocations: 0 / 0.7521 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7496, allocations: 7.953 kB / 0.7521 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.75, allocations: 317.8 kB / 0.7524 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.7502, allocations: 155.5 kB / 0.7525 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.7502, allocations: 3.938 kB / 0.7525 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.7503, allocations: 10.73 kB / 0.7525 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.7504, allocations: 24.61 kB / 0.7526 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.7504, allocations: 15.59 kB / 0.7526 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002019/0.7506, allocations: 222.1 kB / 0.7528 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.7506, allocations: 0 / 0.7528 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004283/0.7511, allocations: 85.33 kB / 0.7529 GB, free: 104.8 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.7521, allocations: 454.3 kB / 0.7533 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.7526, allocations: 227.9 kB / 0.7535 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7526, allocations: 0 / 0.7535 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.7528, allocations: 129 kB / 0.7537 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.753, allocations: 20.66 kB / 0.7537 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.754, allocations: 0.5794 MB / 0.7542 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.7543, allocations: 0.7654 MB / 0.755 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000368/0.7547, allocations: 148.1 kB / 0.7551 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.7548, allocations: 46.33 kB / 0.7552 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.7548, allocations: 2.25 kB / 0.7552 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.007677/0.7625, allocations: 2.884 MB / 0.758 GB, free: 103.3 MB / 0.5105 GB 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)