Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.0007687/0.0007686, allocations: 97.36 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 174.4 kB / 16.57 MB, free: 6.398 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.119/1.119, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5807/0.5807, allocations: 113.7 MB / 405.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2319, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002549/0.2345, allocations: 1.276 MB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2356, allocations: 0.4914 MB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.2357, allocations: 0 / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.2357, allocations: 7.922 kB / 0.5585 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.236, allocations: 39.88 kB / 0.5585 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.2361, allocations: 31.95 kB / 0.5585 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.519e-05/0.2362, allocations: 71.83 kB / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.2363, allocations: 15.98 kB / 0.5586 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.2364, allocations: 39.84 kB / 0.5587 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2365, allocations: 47.83 kB / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2365, allocations: 4 kB / 0.5587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.2365, allocations: 4 kB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.2366, allocations: 23.89 kB / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.2366, allocations: 37.64 kB / 0.5588 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2367, allocations: 64.09 kB / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2368, allocations: 0 / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2368, allocations: 0 / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.2368, allocations: 0 / 0.5588 GB, free: 9.531 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009848/0.2378, allocations: 391.1 kB / 0.5592 GB, free: 9.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.2378, allocations: 8.031 kB / 0.5592 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.2379, allocations: 38.56 kB / 0.5592 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.238, allocations: 7.906 kB / 0.5592 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2382, allocations: 183 kB / 0.5594 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2383, allocations: 4 kB / 0.5594 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.2383, allocations: 11.94 kB / 0.5594 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2386, allocations: 87.14 kB / 0.5595 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2386, allocations: 0 / 0.5595 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.2386, allocations: 4 kB / 0.5595 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2386, allocations: 4 kB / 0.5595 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.2388, allocations: 55.89 kB / 0.5596 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.2395, allocations: 348.5 kB / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.2399, allocations: 102.7 kB / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2399, allocations: 0 / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.2402, allocations: 107.4 kB / 0.5601 GB, free: 8.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.2402, allocations: 3.938 kB / 0.5601 GB, free: 8.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004759/0.2407, allocations: 141.2 kB / 0.5603 GB, free: 7.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.2408, allocations: 55.39 kB / 0.5603 GB, free: 7.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2409, allocations: 125.8 kB / 0.5604 GB, free: 7.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.241, allocations: 25.7 kB / 0.5605 GB, free: 7.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.2411, allocations: 100.4 kB / 0.5605 GB, free: 7.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.2411, allocations: 35.55 kB / 0.5606 GB, free: 7.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.2411, allocations: 0 / 0.5606 GB, free: 7.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2413, allocations: 334.7 kB / 0.5609 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.2414, allocations: 23.98 kB / 0.5609 GB, free: 7.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.2415, allocations: 31.98 kB / 0.561 GB, free: 7.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.2416, allocations: 28 kB / 0.561 GB, free: 7.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2416, allocations: 0 / 0.561 GB, free: 7.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002794/0.2419, allocations: 113 kB / 0.5611 GB, free: 6.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2419, allocations: 8 kB / 0.5611 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.242, allocations: 0 / 0.5611 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.242, allocations: 0 / 0.5611 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2422, allocations: 27.92 kB / 0.5611 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2422, allocations: 0 / 0.5611 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.2423, allocations: 15.89 kB / 0.5611 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.2424, allocations: 4 kB / 0.5611 GB, free: 6.934 MB / 430.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: 6 ($whenCondition2,$whenCondition1,$PRE.locTim.tNext,locTim.tNext,$PRE.eqnTim.tNext,eqnTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.2425, allocations: 117.8 kB / 0.5613 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2426, allocations: 11.89 kB / 0.5613 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.243, allocations: 146 kB / 0.5614 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.243, allocations: 4 kB / 0.5614 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.243, allocations: 0 / 0.5614 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.243, allocations: 0 / 0.5614 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2433, allocations: 217.5 kB / 0.5616 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2433, allocations: 0 / 0.5616 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.2434, allocations: 15.98 kB / 0.5616 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2434, allocations: 0 / 0.5616 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2435, allocations: 8 kB / 0.5616 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2435, allocations: 0 / 0.5616 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2435, allocations: 0 / 0.5616 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.2438, allocations: 164.9 kB / 0.5618 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.2439, allocations: 92.95 kB / 0.5619 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.244, allocations: 4 kB / 0.5619 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.2441, allocations: 11.98 kB / 0.5619 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.2442, allocations: 11.98 kB / 0.5619 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2442, allocations: 4 kB / 0.5619 GB, free: 6.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.2443, allocations: 103.2 kB / 0.562 GB, free: 5.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2443, allocations: 0 / 0.562 GB, free: 5.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.2447, allocations: 31.84 kB / 0.562 GB, free: 5.906 MB / 430.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: 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 (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.0006828/0.2454, allocations: 0.7027 MB / 0.5627 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.2456, allocations: 83.97 kB / 0.5628 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2457, allocations: 4 kB / 0.5628 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.2458, allocations: 47.92 kB / 0.5629 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.246, allocations: 4 kB / 0.5629 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2473, allocations: 0.6243 MB / 0.5635 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.2475, allocations: 0.7004 MB / 0.5642 GB, free: 3.641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.2476, allocations: 16.53 kB / 0.5642 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.2477, allocations: 35.48 kB / 0.5642 GB, free: 3.586 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2477, allocations: 0 / 0.5642 GB, free: 3.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.2695, allocations: 2.007 MB / 0.5662 GB, free: 1.77 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.2698, allocations: 197.4 kB / 0.5664 GB, free: 1.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.854, allocations: 0 / 0.5664 GB, free: 1.535 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) Environment - environmentSimulation: