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.0009643/0.0009644, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009322/0.0009322, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.132/1.132, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 278.8 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8435/0.8435, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 92.95 kB / 0.5946 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1209, allocations: 86.99 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00226/0.1232, allocations: 1.52 MB / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.1238, allocations: 457.9 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.1238, allocations: 3.938 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.1238, allocations: 7.922 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.124, allocations: 21.06 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.461e-05/0.1241, allocations: 16.5 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.1242, allocations: 47.8 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.962e-05/0.1243, allocations: 19.92 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.1243, allocations: 11.94 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.1244, allocations: 27.89 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1244, allocations: 4 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.1244, allocations: 0 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.1245, allocations: 11.94 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1245, allocations: 19.86 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.991e-05/0.1246, allocations: 39.89 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1246, allocations: 4 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1246, allocations: 3.938 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1246, allocations: 0 / 0.6817 GB, free: 14.87 MB / 494.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.0004457/0.1251, allocations: 351.4 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1251, allocations: 8.031 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.1251, allocations: 34.75 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.1252, allocations: 8.844 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1253, allocations: 176.3 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1253, allocations: 4.375 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1253, allocations: 8.375 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.1254, allocations: 49.81 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1254, allocations: 3.938 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1254, allocations: 8 kB / 0.6823 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1255, allocations: 0 / 0.6823 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.1255, allocations: 15.98 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.1258, allocations: 272.8 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/0.1259, allocations: 50.55 kB / 0.6827 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.126, allocations: 28.88 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.126, allocations: 3.938 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.1261, allocations: 63.39 kB / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.1261, allocations: 0 / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001754/0.1263, allocations: 73.69 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1263, allocations: 55.41 kB / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1264, allocations: 121.8 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1264, allocations: 25.7 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.1265, allocations: 96.03 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.1265, allocations: 3.906 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1265, allocations: 17.72 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.1266, allocations: 326.8 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.1267, allocations: 8 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.1267, allocations: 16 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.1268, allocations: 28.84 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1268, allocations: 4 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.432e-05/0.1269, allocations: 65.59 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.1269, allocations: 4 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1269, allocations: 0 / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.1269, allocations: 0 / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.127, allocations: 11.94 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.127, allocations: 448 / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.127, allocations: 11.98 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1271, allocations: 4 kB / 0.6836 GB, free: 12.71 MB / 494.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 6.491e-05/0.1271, allocations: 119 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1272, allocations: 15.84 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.1272, allocations: 7.969 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1272, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1272, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1272, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1273, allocations: 181.6 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1273, allocations: 0 / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.1274, allocations: 8 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1274, allocations: 0 / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1274, allocations: 0 / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1274, allocations: 3.938 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1274, allocations: 0 / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1275, allocations: 105 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1276, allocations: 85.02 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1276, allocations: 0 / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.1276, allocations: 15.98 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.1277, allocations: 0 / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1277, allocations: 4 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.1277, allocations: 91.27 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1277, allocations: 0 / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001768/0.1279, allocations: 8 kB / 0.6842 GB, free: 11.99 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.000358/0.1283, allocations: 0.6358 MB / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.989e-05/0.1284, allocations: 35.98 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1284, allocations: 0 / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.1285, allocations: 19.94 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1286, allocations: 4 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.1295, allocations: 1.232 MB / 0.6861 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.1298, allocations: 0.6876 MB / 0.6868 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.1298, allocations: 0 / 0.6868 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.1298, allocations: 19.36 kB / 0.6868 GB, free: 9.223 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1298, allocations: 0 / 0.6868 GB, free: 9.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7884/0.9182, allocations: 1.362 MB / 0.6881 GB, free: 8.047 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.9184, allocations: 249.2 kB / 0.6883 GB, free: 7.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/3.135, allocations: 11.06 kB / 0.6884 GB, free: 7.777 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)