Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.004603/0.004603, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.0012/0.0012, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.232/1.232, 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/NcDataReader2 2.5.1-master/package.mo): time 0.001944/0.001944, allocations: 282.7 kB / 290.8 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8849/0.8849, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 96.22 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1414, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002299/0.1437, allocations: 1.486 MB / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000665/0.1444, allocations: 467.3 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.1444, allocations: 4 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.1444, allocations: 3.938 kB / 0.7678 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1447, allocations: 27.84 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.362e-05/0.1447, allocations: 11.98 kB / 0.7679 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.1448, allocations: 55.72 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.1449, allocations: 12.28 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.145, allocations: 19.97 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.1451, allocations: 23.92 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1451, allocations: 7.938 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.1451, allocations: 4 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.1451, allocations: 11.98 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1452, allocations: 15.94 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.1453, allocations: 55.67 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1453, allocations: 0 / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1453, allocations: 0 / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1453, allocations: 0 / 0.768 GB, free: 6.711 MB / 0.5606 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.0004862/0.1458, allocations: 359.3 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1458, allocations: 8.031 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.1459, allocations: 34.75 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.1459, allocations: 12.92 kB / 0.7684 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.146, allocations: 172.3 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.146, allocations: 384 / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1461, allocations: 8.375 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1462, allocations: 49.8 kB / 0.7687 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1462, allocations: 0 / 0.7687 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1462, allocations: 8 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1462, allocations: 7.938 kB / 0.7687 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.1463, allocations: 15.98 kB / 0.7687 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.1466, allocations: 268.9 kB / 0.769 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.1467, allocations: 42.56 kB / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.1467, allocations: 24.94 kB / 0.769 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1467, allocations: 0 / 0.769 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.1469, allocations: 79.3 kB / 0.7691 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1469, allocations: 0 / 0.7691 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001959/0.1471, allocations: 81.62 kB / 0.7692 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1471, allocations: 51.41 kB / 0.7692 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.1472, allocations: 113.8 kB / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1472, allocations: 29.64 kB / 0.7694 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.1473, allocations: 92.08 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1473, allocations: 7.906 kB / 0.7695 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1473, allocations: 25.7 kB / 0.7695 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.1474, allocations: 322.8 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.1475, allocations: 8 kB / 0.7698 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.1475, allocations: 15.98 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.1476, allocations: 28.8 kB / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1476, allocations: 0 / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.608e-05/0.1477, allocations: 70.02 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1477, allocations: 4 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1477, allocations: 8.062 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.1477, allocations: 0 / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.1478, allocations: 11.94 kB / 0.7699 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1478, allocations: 3.984 kB / 0.7699 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.1479, allocations: 8 kB / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1479, allocations: 0 / 0.7699 GB, free: 4.543 MB / 0.5606 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.958e-05/0.148, allocations: 114.4 kB / 0.77 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.148, allocations: 4 kB / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.148, allocations: 7.969 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.148, allocations: 7.984 kB / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.148, allocations: 0 / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.148, allocations: 0 / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1481, allocations: 177.5 kB / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1482, allocations: 0 / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.1482, allocations: 4 kB / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1482, allocations: 0 / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1482, allocations: 3.984 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1482, allocations: 0 / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1482, allocations: 0 / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.1483, allocations: 101 kB / 0.7703 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.1484, allocations: 89 kB / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1484, allocations: 3.984 kB / 0.7704 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.1485, allocations: 4 kB / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.1485, allocations: 4 kB / 0.7704 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1485, allocations: 7.984 kB / 0.7704 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.1486, allocations: 87.28 kB / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1486, allocations: 0 / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001772/0.1488, allocations: 12 kB / 0.7705 GB, free: 3.832 MB / 0.5606 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.0003628/0.1491, allocations: 0.6359 MB / 0.7712 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.1492, allocations: 39.92 kB / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1492, allocations: 0 / 0.7712 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.1493, allocations: 16 kB / 0.7712 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1494, allocations: 22.83 kB / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009785/0.1504, allocations: 1.222 MB / 0.7724 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1506, allocations: 0.6846 MB / 0.7731 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.1507, allocations: 4 kB / 0.7731 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.1507, allocations: 11.44 kB / 0.7731 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.1507, allocations: 0 / 0.7731 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2735/0.4242, allocations: 1.533 MB / 0.7746 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.496/6.921, allocations: 12.83 kB / 0.7746 GB, free: 14.4 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)