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.0009823/0.0009824, allocations: 92.86 kB / 15.7 MB, free: 472 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.0009998/0.0009997, allocations: 171.7 kB / 16.58 MB, free: 6.051 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.235/1.235, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6403/0.6403, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003847, allocations: 11.98 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2078, allocations: 77.12 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001724/0.2096, allocations: 1.18 MB / 0.5581 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007338/0.2104, allocations: 435.3 kB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.2104, allocations: 4 kB / 0.5585 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2104, allocations: 3.938 kB / 0.5585 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.2107, allocations: 15.92 kB / 0.5585 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.831e-05/0.2108, allocations: 15.97 kB / 0.5585 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.423e-05/0.2109, allocations: 43.8 kB / 0.5586 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.211, allocations: 11.98 kB / 0.5586 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.2111, allocations: 19.94 kB / 0.5586 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.2112, allocations: 23.89 kB / 0.5586 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2112, allocations: 4 kB / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.2112, allocations: 0 / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.2113, allocations: 11.94 kB / 0.5586 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.2113, allocations: 29.7 kB / 0.5586 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.6e-05/0.2114, allocations: 32.16 kB / 0.5587 GB, free: 9.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2114, allocations: 4 kB / 0.5587 GB, free: 9.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2114, allocations: 0 / 0.5587 GB, free: 9.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2114, allocations: 0 / 0.5587 GB, free: 9.777 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005736/0.212, allocations: 343.2 kB / 0.559 GB, free: 9.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2121, allocations: 15.97 kB / 0.559 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.2121, allocations: 30.56 kB / 0.5591 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.2122, allocations: 7.906 kB / 0.5591 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2123, allocations: 175 kB / 0.5592 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2123, allocations: 4 kB / 0.5592 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2123, allocations: 0 / 0.5592 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2125, allocations: 57.64 kB / 0.5593 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2125, allocations: 0 / 0.5593 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2125, allocations: 3.984 kB / 0.5593 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2125, allocations: 0 / 0.5593 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.543e-05/0.2126, allocations: 20 kB / 0.5593 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.213, allocations: 269 kB / 0.5596 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.2131, allocations: 54.45 kB / 0.5596 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.2132, allocations: 20.94 kB / 0.5596 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2132, allocations: 0 / 0.5596 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.2134, allocations: 63.39 kB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.2134, allocations: 0 / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002314/0.2136, allocations: 81.53 kB / 0.5598 GB, free: 8.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.2137, allocations: 59.41 kB / 0.5598 GB, free: 8.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2138, allocations: 109.8 kB / 0.5599 GB, free: 8.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2138, allocations: 33.7 kB / 0.56 GB, free: 8.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.2139, allocations: 88.06 kB / 0.5601 GB, free: 8.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2139, allocations: 11.81 kB / 0.5601 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.2139, allocations: 4 kB / 0.5601 GB, free: 8.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2141, allocations: 314.8 kB / 0.5604 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.2141, allocations: 15.98 kB / 0.5604 GB, free: 7.809 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.2142, allocations: 12 kB / 0.5604 GB, free: 7.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.2142, allocations: 12 kB / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2142, allocations: 0 / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001142/0.2143, allocations: 69.58 kB / 0.5605 GB, free: 7.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2144, allocations: 4 kB / 0.5605 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2144, allocations: 4 kB / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2144, allocations: 0 / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.2145, allocations: 7.984 kB / 0.5605 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2145, allocations: 0 / 0.5605 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.2146, allocations: 15.84 kB / 0.5605 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2146, allocations: 4 kB / 0.5605 GB, free: 7.676 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: 3 ($whenCondition1,$PRE.locTim.tNext,locTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/0.2147, allocations: 109.8 kB / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.2147, allocations: 11.94 kB / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.2147, allocations: 12.39 kB / 0.5606 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2147, allocations: 4 kB / 0.5606 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2148, allocations: 0 / 0.5606 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2148, allocations: 0 / 0.5606 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2149, allocations: 169.7 kB / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2149, allocations: 0 / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.2149, allocations: 11.98 kB / 0.5608 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.215, allocations: 7.891 kB / 0.5608 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.215, allocations: 4 kB / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.215, allocations: 0 / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.215, allocations: 0 / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.2151, allocations: 93.03 kB / 0.5609 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.2152, allocations: 85.03 kB / 0.561 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2152, allocations: 7.953 kB / 0.561 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.2153, allocations: 4 kB / 0.561 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.2154, allocations: 7.984 kB / 0.561 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2154, allocations: 0 / 0.561 GB, free: 7.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.2154, allocations: 87.28 kB / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2155, allocations: 0 / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00019/0.2156, allocations: 15.98 kB / 0.5611 GB, free: 6.961 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: 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 (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.0005232/0.2162, allocations: 0.6326 MB / 0.5617 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.2163, allocations: 31.98 kB / 0.5618 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2163, allocations: 3.938 kB / 0.5618 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.2164, allocations: 27.92 kB / 0.5618 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.2166, allocations: 3.953 kB / 0.5618 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.2174, allocations: 463.8 kB / 0.5622 GB, free: 5.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.2177, allocations: 0.6848 MB / 0.5629 GB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.566e-05/0.2178, allocations: 4 kB / 0.5629 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.2178, allocations: 19.42 kB / 0.5629 GB, free: 4.996 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2178, allocations: 0 / 0.5629 GB, free: 4.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.2302, allocations: 1.292 MB / 0.5642 GB, free: 3.914 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.2305, allocations: 213.8 kB / 0.5644 GB, free: 3.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.874, allocations: 7.125 kB / 0.5644 GB, free: 3.668 MB / 430.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/linux/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) Environment - environmentSimulation: