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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.001144/0.001144, allocations: 108 kB / 15.6 MB, free: 132 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.001089/0.001089, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.159/1.159, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 287 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8238/0.8238, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 98.84 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1174, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00236/0.1198, allocations: 1.599 MB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.1207, allocations: 0.5419 MB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.1207, allocations: 3.938 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.1208, allocations: 7.875 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.121, allocations: 37.36 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.1212, allocations: 41.42 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1213, allocations: 107.6 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.1214, allocations: 21.08 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1215, allocations: 51.83 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.1216, allocations: 59.75 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.1216, allocations: 8 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/0.1217, allocations: 8 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.1217, allocations: 19.92 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.1217, allocations: 39.86 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1219, allocations: 95.67 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1219, allocations: 0 / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1219, allocations: 0 / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1219, allocations: 0 / 0.6829 GB, free: 13.95 MB / 494.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.0006116/0.1225, allocations: 403.1 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1225, allocations: 8.031 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.1226, allocations: 42.73 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1226, allocations: 8.844 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1227, allocations: 180.2 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1228, allocations: 4.375 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1228, allocations: 12.36 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1229, allocations: 93.72 kB / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.123, allocations: 0 / 0.6836 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.123, allocations: 3.984 kB / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.123, allocations: 0 / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.1231, allocations: 51.97 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1235, allocations: 344.5 kB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1238, allocations: 106.7 kB / 0.6841 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.1238, allocations: 40.84 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1239, allocations: 0 / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.124, allocations: 99.23 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.124, allocations: 4 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002871/0.1243, allocations: 149.5 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1244, allocations: 51.41 kB / 0.6844 GB, free: 12.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.1245, allocations: 129.8 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1245, allocations: 29.7 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1245, allocations: 96.22 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.1246, allocations: 35.67 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1246, allocations: 29.7 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.1247, allocations: 326.8 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.1248, allocations: 24 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.766e-05/0.1248, allocations: 34.73 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1249, allocations: 64.84 kB / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1249, allocations: 0 / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001626/0.1251, allocations: 109.5 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.1251, allocations: 8 kB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1251, allocations: 0 / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.1251, allocations: 0 / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1252, allocations: 23.98 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1253, allocations: 4 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1254, allocations: 19.91 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1254, allocations: 4 kB / 0.6853 GB, free: 11.23 MB / 494.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 (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 7.69e-05/0.1255, allocations: 119.1 kB / 0.6854 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.1255, allocations: 11.89 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1257, allocations: 149 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1257, allocations: 4 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1257, allocations: 4 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1258, allocations: 3.938 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1259, allocations: 213.4 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1259, allocations: 4 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.126, allocations: 15.98 kB / 0.6858 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.126, allocations: 0 / 0.6858 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.126, allocations: 3.938 kB / 0.6858 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.126, allocations: 4 kB / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.126, allocations: 0 / 0.6858 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1262, allocations: 164.9 kB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1263, allocations: 93 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1263, allocations: 0 / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.1264, allocations: 7.984 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1265, allocations: 15.92 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1265, allocations: 4 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.955e-05/0.1266, allocations: 103.2 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1266, allocations: 0 / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.1268, allocations: 28 kB / 0.6862 GB, free: 10.2 MB / 494.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 (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.0004175/0.1272, allocations: 0.706 MB / 0.6869 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1274, allocations: 91.41 kB / 0.687 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1274, allocations: 3.938 kB / 0.687 GB, free: 9.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.112e-05/0.1275, allocations: 55.92 kB / 0.687 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1276, allocations: 7.938 kB / 0.687 GB, free: 9.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1288, allocations: 1.449 MB / 0.6885 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.129, allocations: 0.7002 MB / 0.6891 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.1291, allocations: 8.547 kB / 0.6891 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.1291, allocations: 35.42 kB / 0.6892 GB, free: 7.012 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1291, allocations: 0 / 0.6892 GB, free: 7.012 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5385/0.6676, allocations: 2.285 MB / 0.6914 GB, free: 4.871 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.115/9.782, allocations: 5 kB / 0.6914 GB, free: 4.867 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)