Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_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.00118/0.00118, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001144/0.001144, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.77/0.77, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.81 kB / 0.5572 GB, free: 32.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1995, allocations: 76.18 MB / 0.6316 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003263/0.2028, allocations: 1.461 MB / 0.633 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.2037, allocations: 470.8 kB / 0.6335 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.2038, allocations: 0 / 0.6335 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.2038, allocations: 7.922 kB / 0.6335 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.2042, allocations: 31.83 kB / 0.6335 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.721e-05/0.2043, allocations: 11.98 kB / 0.6335 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2044, allocations: 55.8 kB / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2045, allocations: 8 kB / 0.6336 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2046, allocations: 23.91 kB / 0.6336 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.2047, allocations: 27.84 kB / 0.6336 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2048, allocations: 4 kB / 0.6336 GB, free: 2.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.2048, allocations: 4 kB / 0.6336 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.2048, allocations: 11.94 kB / 0.6337 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.2049, allocations: 19.92 kB / 0.6337 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.205, allocations: 42.69 kB / 0.6337 GB, free: 2.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.205, allocations: 0 / 0.6337 GB, free: 2.824 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.205, allocations: 7.938 kB / 0.6337 GB, free: 2.816 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.205, allocations: 3.938 kB / 0.6337 GB, free: 2.812 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006409/0.2057, allocations: 356.2 kB / 0.6341 GB, free: 2.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.2057, allocations: 12.03 kB / 0.6341 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.2058, allocations: 30.75 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.2058, allocations: 8.844 kB / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.206, allocations: 176.3 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.206, allocations: 4.375 kB / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.206, allocations: 384 / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.2062, allocations: 61.75 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2062, allocations: 0 / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2062, allocations: 0 / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2062, allocations: 0 / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.671e-05/0.2063, allocations: 19.98 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.2068, allocations: 272.8 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.2069, allocations: 46.5 kB / 0.6347 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.2069, allocations: 24.86 kB / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.207, allocations: 0 / 0.6347 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.2072, allocations: 59.48 kB / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.2072, allocations: 0 / 0.6347 GB, free: 1.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002415/0.2074, allocations: 85.61 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2075, allocations: 55.41 kB / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2076, allocations: 109.8 kB / 0.635 GB, free: 1.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2076, allocations: 29.7 kB / 0.635 GB, free: 1.281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2077, allocations: 88.05 kB / 0.6351 GB, free: 1.191 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.2077, allocations: 23.78 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.2078, allocations: 13.72 kB / 0.6351 GB, free: 1.148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2079, allocations: 322.8 kB / 0.6354 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.2079, allocations: 12 kB / 0.6355 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.208, allocations: 12 kB / 0.6355 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.466e-05/0.208, allocations: 37.22 kB / 0.6355 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.208, allocations: 4 kB / 0.6355 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001101/0.2082, allocations: 57.64 kB / 0.6356 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2082, allocations: 13.55 kB / 0.6356 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.2082, allocations: 0 / 0.6356 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2082, allocations: 3.938 kB / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.2083, allocations: 12 kB / 0.6356 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2083, allocations: 0 / 0.6356 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.2084, allocations: 0 / 0.6356 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.2084, allocations: 4 kB / 0.6356 GB, free: 0.6641 MB / 478.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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.95e-05/0.2085, allocations: 125.8 kB / 0.6357 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.2085, allocations: 3.906 kB / 0.6357 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.2085, allocations: 7.906 kB / 0.6357 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2085, allocations: 4 kB / 0.6357 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2086, allocations: 0 / 0.6357 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2086, allocations: 0 / 0.6357 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2087, allocations: 177.5 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2087, allocations: 0 / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.2087, allocations: 7.938 kB / 0.6359 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2088, allocations: 3.984 kB / 0.6359 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2088, allocations: 12 kB / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2088, allocations: 0 / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2088, allocations: 0 / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.2089, allocations: 93.05 kB / 0.636 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.209, allocations: 81.02 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.209, allocations: 8.125 kB / 0.6361 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.2091, allocations: 4 kB / 0.6361 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.2091, allocations: 7.984 kB / 0.6361 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2092, allocations: 4 kB / 0.6361 GB, free: 36 kB / 478.1 MB Notification: Performance of sorting global known variables: time 7.769e-05/0.2092, allocations: 91.27 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2092, allocations: 0 / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.2094, allocations: 8 kB / 0.6362 GB, free: 15.94 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004404/0.2099, allocations: 0.6358 MB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.21, allocations: 32 kB / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.21, allocations: 4 kB / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.2101, allocations: 19.92 kB / 0.6369 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.2103, allocations: 8 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2115, allocations: 1.218 MB / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2118, allocations: 0.6807 MB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.2118, allocations: 4 kB / 0.6387 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.2119, allocations: 19.36 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2119, allocations: 4 kB / 0.6388 GB, free: 13.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.2328, allocations: 1.546 MB / 0.6403 GB, free: 11.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.904, allocations: 6.125 kB / 0.6403 GB, free: 11.77 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)