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.001012/0.001012, allocations: 105.7 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.00122/0.001221, allocations: 193.2 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6523/0.6523, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 73.45 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 76.18 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002575/0.1258, allocations: 1.469 MB / 0.633 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.1266, allocations: 474.8 kB / 0.6335 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.1266, allocations: 0 / 0.6335 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.1267, allocations: 3.938 kB / 0.6335 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.1269, allocations: 23.84 kB / 0.6335 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.648e-05/0.127, allocations: 15.98 kB / 0.6335 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.023e-05/0.1271, allocations: 55.78 kB / 0.6336 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.1272, allocations: 4 kB / 0.6336 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.1273, allocations: 31.91 kB / 0.6336 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.1274, allocations: 23.86 kB / 0.6336 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1274, allocations: 4 kB / 0.6336 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.1275, allocations: 0 / 0.6336 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.1275, allocations: 15.92 kB / 0.6337 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.1275, allocations: 19.94 kB / 0.6337 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.013e-05/0.1276, allocations: 46.67 kB / 0.6337 GB, free: 2.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1276, allocations: 4 kB / 0.6337 GB, free: 2.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1276, allocations: 4 kB / 0.6337 GB, free: 2.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1277, allocations: 0 / 0.6337 GB, free: 2.84 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.0005064/0.1282, allocations: 344.2 kB / 0.6341 GB, free: 2.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1282, allocations: 11.97 kB / 0.6341 GB, free: 2.445 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.1283, allocations: 34.75 kB / 0.6341 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.1283, allocations: 12.83 kB / 0.6341 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1284, allocations: 168.3 kB / 0.6343 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1285, allocations: 8.375 kB / 0.6343 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1285, allocations: 384 / 0.6343 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1286, allocations: 61.73 kB / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1286, allocations: 0 / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1286, allocations: 0 / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1286, allocations: 0 / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.1287, allocations: 23.98 kB / 0.6344 GB, free: 2.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.129, allocations: 260.9 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.1291, allocations: 54.5 kB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.1292, allocations: 24.94 kB / 0.6347 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.1292, allocations: 0 / 0.6347 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.1293, allocations: 63.39 kB / 0.6348 GB, free: 1.621 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1293, allocations: 0 / 0.6348 GB, free: 1.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002093/0.1295, allocations: 81.61 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1296, allocations: 55.41 kB / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.1297, allocations: 113.8 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1297, allocations: 33.64 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.1298, allocations: 84.05 kB / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1298, allocations: 19.8 kB / 0.6351 GB, free: 1.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1298, allocations: 21.7 kB / 0.6351 GB, free: 1.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.1299, allocations: 314.8 kB / 0.6354 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.13, allocations: 12 kB / 0.6355 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.13, allocations: 15.98 kB / 0.6355 GB, free: 0.832 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.1301, allocations: 37.23 kB / 0.6355 GB, free: 0.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1301, allocations: 0 / 0.6355 GB, free: 0.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001086/0.1302, allocations: 65.62 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1302, allocations: 5.719 kB / 0.6356 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1302, allocations: 4 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1302, allocations: 0 / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.1303, allocations: 7.984 kB / 0.6356 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1303, allocations: 4 kB / 0.6356 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.1304, allocations: 3.938 kB / 0.6356 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1304, allocations: 4 kB / 0.6356 GB, free: 0.6953 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 7.944e-05/0.1305, allocations: 117.8 kB / 0.6357 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1305, allocations: 7.906 kB / 0.6357 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.1305, allocations: 7.969 kB / 0.6357 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1306, allocations: 3.984 kB / 0.6357 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1306, allocations: 0 / 0.6357 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1306, allocations: 4 kB / 0.6357 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1307, allocations: 173.5 kB / 0.6359 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1307, allocations: 0 / 0.6359 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.1307, allocations: 4 kB / 0.6359 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1308, allocations: 11.92 kB / 0.6359 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1308, allocations: 3.984 kB / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1308, allocations: 0 / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1308, allocations: 4 kB / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.1309, allocations: 93.06 kB / 0.636 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.131, allocations: 81.02 kB / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.131, allocations: 3.984 kB / 0.6361 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.1311, allocations: 8.125 kB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1311, allocations: 8 kB / 0.6361 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1311, allocations: 7.984 kB / 0.6361 GB, free: 68 kB / 478.1 MB Notification: Performance of sorting global known variables: time 6.189e-05/0.1312, allocations: 87.28 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1312, allocations: 0 / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.1314, allocations: 8 kB / 0.6362 GB, free: 15.97 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.0003897/0.1318, allocations: 0.6358 MB / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1319, allocations: 39.92 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1319, allocations: 0 / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.1319, allocations: 19.94 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1321, allocations: 3.984 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1331, allocations: 1.22 MB / 0.6381 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1334, allocations: 0.6846 MB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.1334, allocations: 4 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.1335, allocations: 15.44 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1335, allocations: 0 / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.1498, allocations: 1.54 MB / 0.6403 GB, free: 11.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/7.003, allocations: 11.12 kB / 0.6403 GB, free: 11.81 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)