Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009967/0.009967, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7537/0.7537, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 15.94 kB / 0.504 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4722, allocations: 81.57 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002384/0.4746, allocations: 1.572 MB / 0.5852 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.4768, allocations: 1.524 MB / 0.5867 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.4769, allocations: 0.9688 kB / 0.5867 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.4771, allocations: 24.73 kB / 0.5867 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.4774, allocations: 60.25 kB / 0.5868 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.4778, allocations: 156.9 kB / 0.5869 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.4782, allocations: 252.1 kB / 0.5872 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4783, allocations: 36.27 kB / 0.5872 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.4785, allocations: 82.83 kB / 0.5873 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.4787, allocations: 96.56 kB / 0.5874 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.4787, allocations: 14.09 kB / 0.5874 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.4789, allocations: 70.62 kB / 0.5875 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.4791, allocations: 73.98 kB / 0.5875 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.4792, allocations: 135.9 kB / 0.5877 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.4796, allocations: 293.9 kB / 0.5879 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4796, allocations: 1.219 kB / 0.5879 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4797, allocations: 7.875 kB / 0.588 GB, free: 1.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4797, allocations: 0 / 0.588 GB, free: 1.234 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007202/0.4804, allocations: 0.5012 MB / 0.5884 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4804, allocations: 10.09 kB / 0.5885 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.4806, allocations: 33.25 kB / 0.5885 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4809, allocations: 274.4 kB / 0.5887 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.4809, allocations: 11.25 kB / 0.5888 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.4809, allocations: 19.84 kB / 0.5888 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.4813, allocations: 231.8 kB / 0.589 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4814, allocations: 0.5312 kB / 0.589 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.4814, allocations: 10.75 kB / 0.589 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.4814, allocations: 3.781 kB / 0.589 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4825, allocations: 0.7471 MB / 0.5897 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.4837, allocations: 0.6533 MB / 0.5904 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.4842, allocations: 297.4 kB / 0.5907 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.4844, allocations: 112 kB / 0.5908 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.4845, allocations: 18.06 kB / 0.5908 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003844/0.4849, allocations: 189.2 kB / 0.591 GB, free: 15.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.4849, allocations: 0 / 0.591 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007796/0.4857, allocations: 369.7 kB / 0.5913 GB, free: 15.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.4858, allocations: 137.3 kB / 0.5914 GB, free: 15.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.4862, allocations: 310.7 kB / 0.5917 GB, free: 15.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4862, allocations: 31.73 kB / 0.5918 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4863, allocations: 132.2 kB / 0.5919 GB, free: 14.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4865, allocations: 115.2 kB / 0.592 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.4865, allocations: 34.8 kB / 0.592 GB, free: 14.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4867, allocations: 338.7 kB / 0.5924 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.4868, allocations: 80.23 kB / 0.5924 GB, free: 14.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.487, allocations: 131.8 kB / 0.5926 GB, free: 14.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.4874, allocations: 216.2 kB / 0.5928 GB, free: 14.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4874, allocations: 0 / 0.5928 GB, free: 14.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004857/0.4879, allocations: 279 kB / 0.593 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.488, allocations: 9.609 kB / 0.5931 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.488, allocations: 0 / 0.5931 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.488, allocations: 5.938 kB / 0.5931 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.4882, allocations: 66 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4883, allocations: 5.25 kB / 0.5931 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.4884, allocations: 29.42 kB / 0.5932 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.4885, allocations: 15.38 kB / 0.5932 GB, free: 14.22 MB / 446.1 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.tNext,$PRE.conTim.tNext,$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.0002103/0.4887, allocations: 164.7 kB / 0.5933 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.4888, allocations: 32.84 kB / 0.5934 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008031/0.4896, allocations: 390.1 kB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.4896, allocations: 8.031 kB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4896, allocations: 0.6094 kB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4896, allocations: 2.391 kB / 0.5937 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.49, allocations: 346.1 kB / 0.5941 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.49, allocations: 1.375 kB / 0.5941 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4902, allocations: 61.69 kB / 0.5941 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4902, allocations: 1.406 kB / 0.5941 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.4903, allocations: 9.781 kB / 0.5941 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4903, allocations: 5.438 kB / 0.5941 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4903, allocations: 1.438 kB / 0.5941 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.4908, allocations: 320.5 kB / 0.5945 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.491, allocations: 153.8 kB / 0.5946 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.491, allocations: 6.984 kB / 0.5946 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.4912, allocations: 37.19 kB / 0.5946 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.4913, allocations: 28.5 kB / 0.5947 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.4914, allocations: 12.94 kB / 0.5947 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.4916, allocations: 239.4 kB / 0.5949 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4916, allocations: 0 / 0.5949 GB, free: 13.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.4919, allocations: 60.66 kB / 0.595 GB, free: 13.17 MB / 446.1 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.tNext) * Number of discrete states: 1 (conTim.tNext) * 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.0009594/0.4929, allocations: 403.8 kB / 0.5954 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.4934, allocations: 227.8 kB / 0.5956 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4934, allocations: 4 kB / 0.5956 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.4936, allocations: 136.2 kB / 0.5957 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.4939, allocations: 35.84 kB / 0.5957 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009549/0.4949, allocations: 0.6238 MB / 0.5963 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.4953, allocations: 0.7643 MB / 0.5971 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003785/0.4956, allocations: 146.6 kB / 0.5972 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.4958, allocations: 42.58 kB / 0.5973 GB, free: 11.74 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4958, allocations: 0 / 0.5973 GB, free: 11.74 MB / 446.1 MB Notification: Performance of Templates: time 0.008097/0.5039, allocations: 3.245 MB / 0.6004 GB, free: 10.42 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)