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.00115/0.00115, allocations: 100.1 kB / 15.88 MB, free: 12 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.001109/0.001109, allocations: 207.9 kB / 16.79 MB, free: 6.84 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.188/1.188, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6133/0.6133, allocations: 115.3 MB / 406 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 68.64 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1129, allocations: 76.18 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002253/0.1152, allocations: 1.539 MB / 0.5574 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005842/0.1158, allocations: 462.8 kB / 0.5578 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.1158, allocations: 0 / 0.5578 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.1158, allocations: 4 kB / 0.5578 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.116, allocations: 19.91 kB / 0.5578 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.449e-05/0.1161, allocations: 19.92 kB / 0.5578 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.1162, allocations: 43.86 kB / 0.5579 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.1163, allocations: 7.984 kB / 0.5579 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.1163, allocations: 23.92 kB / 0.5579 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.1164, allocations: 27.84 kB / 0.5579 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1164, allocations: 4 kB / 0.5579 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.1165, allocations: 4 kB / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.1165, allocations: 7.938 kB / 0.5579 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.1165, allocations: 23.91 kB / 0.558 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.985e-05/0.1166, allocations: 36.11 kB / 0.558 GB, free: 8.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1166, allocations: 0 / 0.558 GB, free: 8.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1166, allocations: 4 kB / 0.558 GB, free: 8.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.1166, allocations: 0 / 0.558 GB, free: 8.539 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.0004694/0.1171, allocations: 347.4 kB / 0.5583 GB, free: 8.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1171, allocations: 12.03 kB / 0.5584 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.1172, allocations: 38.75 kB / 0.5584 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.1172, allocations: 4.844 kB / 0.5584 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1173, allocations: 168.3 kB / 0.5586 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1173, allocations: 8.359 kB / 0.5586 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1173, allocations: 4.375 kB / 0.5586 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.751e-05/0.1175, allocations: 57.73 kB / 0.5586 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1175, allocations: 3.938 kB / 0.5586 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1175, allocations: 0 / 0.5586 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1175, allocations: 0 / 0.5586 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.1175, allocations: 27.98 kB / 0.5587 GB, free: 7.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1179, allocations: 268.9 kB / 0.5589 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.1179, allocations: 46.5 kB / 0.559 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.118, allocations: 20.86 kB / 0.559 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.118, allocations: 0 / 0.559 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.1181, allocations: 67.48 kB / 0.559 GB, free: 7.312 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1181, allocations: 0 / 0.559 GB, free: 7.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001947/0.1183, allocations: 85.8 kB / 0.5591 GB, free: 7.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.1184, allocations: 55.34 kB / 0.5592 GB, free: 7.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.1185, allocations: 113.8 kB / 0.5593 GB, free: 7.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1185, allocations: 29.7 kB / 0.5593 GB, free: 7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1185, allocations: 88.05 kB / 0.5594 GB, free: 6.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1186, allocations: 15.8 kB / 0.5594 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.1186, allocations: 21.72 kB / 0.5594 GB, free: 6.867 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1187, allocations: 318.8 kB / 0.5597 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.1187, allocations: 15.98 kB / 0.5597 GB, free: 6.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.1188, allocations: 12.06 kB / 0.5598 GB, free: 6.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.1188, allocations: 28.86 kB / 0.5598 GB, free: 6.488 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1188, allocations: 0 / 0.5598 GB, free: 6.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.962e-05/0.1189, allocations: 65.62 kB / 0.5598 GB, free: 6.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.119, allocations: 4 kB / 0.5599 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.119, allocations: 8 kB / 0.5599 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.119, allocations: 3.984 kB / 0.5599 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.119, allocations: 4 kB / 0.5599 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1191, allocations: 4 kB / 0.5599 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.1191, allocations: 0 / 0.5599 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1191, allocations: 8 kB / 0.5599 GB, free: 6.387 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 (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.085e-05/0.1192, allocations: 113.8 kB / 0.56 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.1192, allocations: 7.906 kB / 0.56 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.1192, allocations: 7.969 kB / 0.56 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1192, allocations: 4 kB / 0.56 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1193, allocations: 0 / 0.56 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1193, allocations: 7.938 kB / 0.56 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1194, allocations: 173.6 kB / 0.5602 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1194, allocations: 0 / 0.5602 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.1194, allocations: 7.938 kB / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1194, allocations: 0 / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.1194, allocations: 0 / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1194, allocations: 0 / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1194, allocations: 4.188 kB / 0.5602 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1196, allocations: 109 kB / 0.5603 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1196, allocations: 84.95 kB / 0.5604 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1196, allocations: 0 / 0.5604 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.1197, allocations: 4 kB / 0.5604 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.1197, allocations: 11.98 kB / 0.5604 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1198, allocations: 0 / 0.5604 GB, free: 5.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.59e-05/0.1198, allocations: 95.56 kB / 0.5605 GB, free: 5.672 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1198, allocations: 0 / 0.5605 GB, free: 5.672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000174/0.12, allocations: 12 kB / 0.5605 GB, free: 5.66 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 (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.0003531/0.1204, allocations: 0.6396 MB / 0.5611 GB, free: 4.992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.1205, allocations: 32 kB / 0.5611 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1205, allocations: 0 / 0.5611 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.1205, allocations: 23.92 kB / 0.5612 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1206, allocations: 6.109 kB / 0.5612 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.1216, allocations: 1.236 MB / 0.5624 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1218, allocations: 0.6848 MB / 0.5631 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.292e-05/0.1219, allocations: 0 / 0.5631 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1219, allocations: 15.44 kB / 0.5631 GB, free: 2.891 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1219, allocations: 0 / 0.5631 GB, free: 2.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01001/0.1319, allocations: 1.339 MB / 0.5644 GB, free: 1.715 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.1322, allocations: 228.7 kB / 0.5646 GB, free: 1.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.767, allocations: 0 / 0.5646 GB, free: 1.461 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/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)