Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_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.0008638/0.0008638, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004886/0.004886, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.355/2.355, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.000274, allocations: 12.47 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001485/0.2311, allocations: 1.33 MB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006917/0.2318, allocations: 0.5221 MB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.2318, allocations: 4 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.2319, allocations: 0 / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.2321, allocations: 39.75 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.423e-05/0.2322, allocations: 35.95 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2323, allocations: 103.6 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.2324, allocations: 20 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.2325, allocations: 43.83 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.2326, allocations: 47.77 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2326, allocations: 4 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.2326, allocations: 4 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.2326, allocations: 19.91 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.2327, allocations: 61.5 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.2328, allocations: 87.94 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2328, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2328, allocations: 4 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2328, allocations: 3.938 kB / 1.061 GB, free: 2.566 MB / 0.8106 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.0005652/0.2334, allocations: 387.2 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2334, allocations: 11.97 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.2335, allocations: 42.75 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.2335, allocations: 8.844 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2336, allocations: 196.1 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2337, allocations: 384 / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2337, allocations: 4.375 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2338, allocations: 97.7 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.2339, allocations: 4 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2339, allocations: 0 / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2339, allocations: 0 / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.234, allocations: 47.97 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.2344, allocations: 348.6 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.2347, allocations: 106.7 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.2348, allocations: 48.84 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.2348, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.235, allocations: 103.3 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.235, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0002726/0.2353, allocations: 145.5 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.2353, allocations: 55.41 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.2354, allocations: 125.8 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2354, allocations: 29.7 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.2355, allocations: 104.4 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.2355, allocations: 31.55 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.2355, allocations: 17.72 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.2356, allocations: 318.8 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.2357, allocations: 27.98 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.817e-05/0.2357, allocations: 24 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2359, allocations: 67.97 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2359, allocations: 0 / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001749/0.236, allocations: 117.5 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2361, allocations: 5.719 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2361, allocations: 3.984 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.2361, allocations: 3.984 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.2362, allocations: 16 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2362, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2363, allocations: 23.83 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2363, allocations: 3.938 kB / 1.063 GB, free: 15.86 MB / 0.8262 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 8.476e-05/0.2364, allocations: 129.8 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.2364, allocations: 11.91 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.2367, allocations: 142 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2367, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2367, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2367, allocations: 3.938 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2369, allocations: 213.5 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2369, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.237, allocations: 19.98 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.237, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.237, allocations: 3.938 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.237, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.237, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.2372, allocations: 172.3 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2373, allocations: 81.02 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2373, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2374, allocations: 19.92 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2374, allocations: 15.92 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2375, allocations: 4 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.2375, allocations: 96.14 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2375, allocations: 4 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001915/0.2377, allocations: 23.91 kB / 1.064 GB, free: 14.83 MB / 0.8262 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.0004677/0.2382, allocations: 0.7099 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.2384, allocations: 83.91 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2384, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/0.2385, allocations: 47.98 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.2386, allocations: 16.91 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2399, allocations: 1.467 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2402, allocations: 0.7004 MB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.273e-05/0.2402, allocations: 8.562 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.2403, allocations: 31.42 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.2403, allocations: 0 / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.2505, allocations: 2.015 MB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.2508, allocations: 245.6 kB / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.773, allocations: 0 / 1.07 GB, free: 9.531 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)