Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.0008233/0.0008233, allocations: 91.3 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.005186/0.005186, allocations: 173.7 kB / 16.27 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8393/0.8393, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001234/0.1344, allocations: 1.126 MB / 0.5892 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004393/0.1348, allocations: 359.3 kB / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1348, allocations: 0 / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.06e-05/0.1349, allocations: 0 / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.1349, allocations: 11.94 kB / 0.5895 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.055e-05/0.135, allocations: 4 kB / 0.5895 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.499e-05/0.135, allocations: 23.86 kB / 0.5896 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.961e-05/0.1351, allocations: 4 kB / 0.5896 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1352, allocations: 4 kB / 0.5896 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.1352, allocations: 7.984 kB / 0.5896 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1353, allocations: 7.984 kB / 0.5896 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-06/0.1353, allocations: 3.938 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.1353, allocations: 0 / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.1353, allocations: 33.64 kB / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.239e-05/0.1354, allocations: 15.92 kB / 0.5896 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1354, allocations: 0 / 0.5896 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1354, allocations: 0 / 0.5896 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.1354, allocations: 0 / 0.5896 GB, free: 0.9102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002824/0.1357, allocations: 327.7 kB / 0.59 GB, free: 0.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1357, allocations: 12.03 kB / 0.59 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.1357, allocations: 30.75 kB / 0.59 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.507e-05/0.1358, allocations: 0.9375 kB / 0.59 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1359, allocations: 176.4 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.1359, allocations: 4.375 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-06/0.1359, allocations: 384 / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.825e-05/0.136, allocations: 37.83 kB / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-06/0.136, allocations: 0 / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.136, allocations: 0 / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.136, allocations: 4 kB / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.136, allocations: 11.92 kB / 0.5902 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.1363, allocations: 240.9 kB / 0.5904 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.167e-05/0.1363, allocations: 26.58 kB / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.1364, allocations: 16.95 kB / 0.5905 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.1364, allocations: 0 / 0.5905 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1364, allocations: 34.56 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/0.1364, allocations: 7.875 kB / 0.5905 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001114/0.1365, allocations: 49.55 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.1365, allocations: 51.41 kB / 0.5906 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.1366, allocations: 101.8 kB / 0.5907 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1366, allocations: 25.7 kB / 0.5907 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.1367, allocations: 84.14 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.1367, allocations: 7.844 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.1367, allocations: 9.719 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.1368, allocations: 322.8 kB / 0.5912 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.1368, allocations: 8.125 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.1368, allocations: 0 / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/0.1369, allocations: 20.8 kB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1369, allocations: 0 / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.636e-05/0.1369, allocations: 33.7 kB / 0.5912 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.1369, allocations: 4 kB / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.1369, allocations: 0 / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.137, allocations: 0 / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.262e-05/0.137, allocations: 11.98 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.137, allocations: 4.094 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.137, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-06/0.137, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.844e-05/0.1371, allocations: 113.8 kB / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.1371, allocations: 0 / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.1371, allocations: 3.125 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1371, allocations: 0 / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1372, allocations: 4 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1372, allocations: 0 / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1373, allocations: 161.6 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.1373, allocations: 7.938 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.1373, allocations: 0 / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1373, allocations: 0 / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.1373, allocations: 4 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1373, allocations: 3.984 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1374, allocations: 0 / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.672e-05/0.1374, allocations: 135.7 kB / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1375, allocations: 89.03 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-06/0.1375, allocations: 7.938 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.1375, allocations: 3.984 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-06/0.1376, allocations: 0 / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.1376, allocations: 0 / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.028e-05/0.1376, allocations: 79.28 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1376, allocations: 0 / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001913/0.1378, allocations: 7.938 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002938/0.1381, allocations: 0.6772 MB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.49e-05/0.1381, allocations: 4 kB / 0.5925 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1382, allocations: 4 kB / 0.5925 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.1382, allocations: 7.938 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.1384, allocations: 4 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.1391, allocations: 1.153 MB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.1393, allocations: 0.677 MB / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.148e-05/0.1393, allocations: 0 / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.1393, allocations: 7.438 kB / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1394, allocations: 0 / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3521/0.4915, allocations: 0.8808 MB / 0.5952 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.4918, allocations: 222.7 kB / 0.5954 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.143, allocations: 2.125 kB / 0.5954 GB, free: 10.73 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)