Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.00191/0.00191, allocations: 184 kB / 17.34 MB, free: 5.738 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002782/0.002782, allocations: 284.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 99.83 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.424, allocations: 86.98 MB / 0.7671 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002756/0.4268, allocations: 1.601 MB / 0.7686 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.4277, allocations: 0.5511 MB / 0.7692 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.4278, allocations: 0 / 0.7692 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.4278, allocations: 11.86 kB / 0.7692 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.4281, allocations: 35.72 kB / 0.7692 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.4282, allocations: 47.88 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.4283, allocations: 103.7 kB / 0.7694 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.4285, allocations: 19.64 kB / 0.7694 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4286, allocations: 47.78 kB / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.4287, allocations: 55.81 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.4287, allocations: 8 kB / 0.7695 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.4287, allocations: 8 kB / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.4288, allocations: 23.92 kB / 0.7695 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.4288, allocations: 47.77 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.429, allocations: 89.59 kB / 0.7696 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.429, allocations: 4 kB / 0.7696 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.429, allocations: 0 / 0.7696 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.429, allocations: 0 / 0.7696 GB, free: 1.121 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007694/0.4298, allocations: 407 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.4298, allocations: 12.03 kB / 0.77 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.4299, allocations: 8.891 kB / 0.7701 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.43, allocations: 184.3 kB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.43, allocations: 4.375 kB / 0.7702 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.4301, allocations: 12.38 kB / 0.7702 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.4302, allocations: 85.95 kB / 0.7703 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4303, allocations: 3.938 kB / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4303, allocations: 4 kB / 0.7703 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4303, allocations: 0 / 0.7703 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4304, allocations: 47.97 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.431, allocations: 344.6 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.4313, allocations: 102.7 kB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.4314, allocations: 40.84 kB / 0.7708 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4314, allocations: 0 / 0.7708 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.4316, allocations: 103.2 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.4316, allocations: 0 / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003744/0.432, allocations: 149.5 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.4321, allocations: 55.41 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4322, allocations: 117.8 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.4322, allocations: 29.7 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.4323, allocations: 96.31 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.4323, allocations: 31.88 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.4324, allocations: 29.72 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4326, allocations: 326.8 kB / 0.7717 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.4326, allocations: 23.98 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.4327, allocations: 35.92 kB / 0.7718 GB, free: 14.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.4328, allocations: 62.84 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4328, allocations: 0 / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002017/0.433, allocations: 109.6 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.433, allocations: 8 kB / 0.772 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.433, allocations: 3.938 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4331, allocations: 4 kB / 0.772 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4332, allocations: 27.92 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4332, allocations: 0 / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.4333, allocations: 15.88 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.4333, allocations: 4 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001175/0.4334, allocations: 124.4 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4335, allocations: 7.953 kB / 0.7722 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.4338, allocations: 149.9 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4338, allocations: 4 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4338, allocations: 0 / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4338, allocations: 7.938 kB / 0.7723 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.434, allocations: 209.6 kB / 0.7725 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.434, allocations: 0 / 0.7725 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.4341, allocations: 16 kB / 0.7725 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4341, allocations: 0 / 0.7725 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4341, allocations: 7.984 kB / 0.7725 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4341, allocations: 4 kB / 0.7725 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4341, allocations: 4 kB / 0.7725 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.4344, allocations: 168.9 kB / 0.7727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.4344, allocations: 85.06 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4345, allocations: 3.984 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4346, allocations: 8 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.4346, allocations: 7.984 kB / 0.7728 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.4346, allocations: 19.86 kB / 0.7728 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.123e-05/0.4347, allocations: 96.14 kB / 0.7729 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4347, allocations: 4 kB / 0.7729 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002186/0.4349, allocations: 27.94 kB / 0.7729 GB, free: 13.42 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001688/0.4351, allocations: 103.2 kB / 0.773 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.4353, allocations: 85.28 kB / 0.7731 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4353, allocations: 0 / 0.7731 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.4354, allocations: 43.92 kB / 0.7732 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.4356, allocations: 16.25 kB / 0.7732 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.4361, allocations: 206.5 kB / 0.7734 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4364, allocations: 0.6963 MB / 0.7741 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.515e-05/0.4365, allocations: 12.41 kB / 0.7741 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.4365, allocations: 19.44 kB / 0.7741 GB, free: 12.18 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4365, allocations: 0 / 0.7741 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Templates: time 0.003959/0.4405, allocations: 1.117 MB / 0.7752 GB, free: 11.08 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)