Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_Buildings_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.00445/0.00445, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001374/0.001374, allocations: 199.5 kB / 16.68 MB, free: 6.352 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: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2465, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002246/0.2488, allocations: 1.49 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.2495, allocations: 470.8 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.2495, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2495, allocations: 0 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.2497, allocations: 23.8 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.524e-05/0.2498, allocations: 23.97 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.131e-05/0.2499, allocations: 55.72 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.25, allocations: 8 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.25, allocations: 23.92 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.2501, allocations: 23.91 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2501, allocations: 0 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.2502, allocations: 4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.2502, allocations: 15.98 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.2502, allocations: 23.86 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.527e-05/0.2503, allocations: 43.81 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2503, allocations: 3.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2503, allocations: 4 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.2503, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB 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.000482/0.2508, allocations: 351.3 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.2509, allocations: 8.031 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.2509, allocations: 42.75 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.2509, allocations: 4.891 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2511, allocations: 168.3 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2511, allocations: 4.375 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2511, allocations: 384 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2512, allocations: 57.8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2512, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2512, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2512, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.2513, allocations: 27.92 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.2516, allocations: 272.9 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/0.2517, allocations: 42.56 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.2518, allocations: 24.84 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.2518, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.2519, allocations: 67.42 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 2.655e-06/0.2519, allocations: 4 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0001852/0.2521, allocations: 85.73 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2522, allocations: 55.41 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.2522, allocations: 109.8 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.2523, allocations: 29.7 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.2523, allocations: 84.14 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2523, allocations: 19.83 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.2524, allocations: 17.72 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2525, allocations: 322.8 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.2525, allocations: 23.98 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.2526, allocations: 8 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.2526, allocations: 28.86 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2526, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.945e-05/0.2527, allocations: 65.64 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2528, allocations: 5.562 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2528, allocations: 4 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.2528, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.2528, allocations: 11.92 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2529, allocations: 8 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.2529, allocations: 0 / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2529, allocations: 4 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB 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 7.402e-05/0.253, allocations: 114.3 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.253, allocations: 11.94 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.253, allocations: 7.969 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2531, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2531, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2531, allocations: 8 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2532, allocations: 173.6 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2532, allocations: 3.984 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.2532, allocations: 4 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2532, allocations: 0 / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.2533, allocations: 0 / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2533, allocations: 192 / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2533, allocations: 8 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2534, allocations: 101 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.2535, allocations: 85.06 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2535, allocations: 3.938 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.2535, allocations: 4 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.2536, allocations: 7.984 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2536, allocations: 4 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.2536, allocations: 91.27 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2536, allocations: 0 / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001706/0.2538, allocations: 8 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB 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.0003934/0.2542, allocations: 0.6396 MB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.2543, allocations: 35.98 kB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.2543, allocations: 0 / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.2544, allocations: 19.98 kB / 1.225 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.2545, allocations: 4 kB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.2555, allocations: 1.237 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.2558, allocations: 0.6846 MB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.2558, allocations: 4 kB / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.2559, allocations: 19.42 kB / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2559, allocations: 0 / 1.227 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2662/0.5221, allocations: 1.503 MB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.853, allocations: 15.05 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)