Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_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.001096/0.001096, 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.001126/0.001126, allocations: 196.8 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.178/1.178, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7024/0.7024, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1345, allocations: 80.2 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00238/0.137, allocations: 1.476 MB / 0.5809 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004786/0.1375, allocations: 363.2 kB / 0.5813 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.1375, allocations: 7.938 kB / 0.5813 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.1375, allocations: 0 / 0.5813 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.1376, allocations: 4 kB / 0.5813 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.705e-05/0.1376, allocations: 0 / 0.5813 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.844e-05/0.1377, allocations: 27.86 kB / 0.5813 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.498e-05/0.1378, allocations: 4 kB / 0.5813 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1379, allocations: 11.98 kB / 0.5813 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.1379, allocations: 11.92 kB / 0.5814 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.138, allocations: 0 / 0.5814 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-06/0.138, allocations: 0 / 0.5814 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.138, allocations: 0 / 0.5814 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.138, allocations: 11.94 kB / 0.5814 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.867e-05/0.1381, allocations: 7.984 kB / 0.5814 GB, free: 7.223 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1381, allocations: 4 kB / 0.5814 GB, free: 7.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1381, allocations: 0 / 0.5814 GB, free: 7.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.736e-06/0.1381, allocations: 0 / 0.5814 GB, free: 7.219 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003138/0.1384, allocations: 331.7 kB / 0.5817 GB, free: 6.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1385, allocations: 12.03 kB / 0.5817 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.1385, allocations: 30.75 kB / 0.5817 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.1385, allocations: 4.922 kB / 0.5817 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1386, allocations: 168.4 kB / 0.5819 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1387, allocations: 8.312 kB / 0.5819 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1387, allocations: 4.375 kB / 0.5819 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.353e-05/0.1387, allocations: 37.77 kB / 0.5819 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.1387, allocations: 0 / 0.5819 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.1388, allocations: 4 kB / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1388, allocations: 0 / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.1388, allocations: 7.984 kB / 0.582 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.1391, allocations: 244.8 kB / 0.5822 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.648e-05/0.1391, allocations: 38.55 kB / 0.5822 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.1391, allocations: 12.92 kB / 0.5822 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.1392, allocations: 0 / 0.5822 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1392, allocations: 30.56 kB / 0.5823 GB, free: 6.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1392, allocations: 0 / 0.5823 GB, free: 6.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001152/0.1393, allocations: 45.64 kB / 0.5823 GB, free: 6.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.1393, allocations: 55.47 kB / 0.5824 GB, free: 6.016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.1394, allocations: 105.8 kB / 0.5825 GB, free: 5.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1394, allocations: 25.7 kB / 0.5825 GB, free: 5.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.1395, allocations: 84.12 kB / 0.5826 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1395, allocations: 11.84 kB / 0.5826 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.1395, allocations: 13.72 kB / 0.5826 GB, free: 5.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.1396, allocations: 318.8 kB / 0.5829 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.1396, allocations: 4 kB / 0.5829 GB, free: 5.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.1396, allocations: 4 kB / 0.5829 GB, free: 5.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.1397, allocations: 16.86 kB / 0.5829 GB, free: 5.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1397, allocations: 0 / 0.5829 GB, free: 5.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.404e-05/0.1397, allocations: 37.7 kB / 0.583 GB, free: 5.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1398, allocations: 7.938 kB / 0.583 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1398, allocations: 4 kB / 0.583 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1398, allocations: 3.984 kB / 0.583 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.1398, allocations: 4 kB / 0.583 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1398, allocations: 0 / 0.583 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.1398, allocations: 4.094 kB / 0.583 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.1399, allocations: 4 kB / 0.583 GB, free: 5.336 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.526e-05/0.1399, allocations: 110.4 kB / 0.5831 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1399, allocations: 0 / 0.5831 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.14, allocations: 7.125 kB / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.14, allocations: 4 kB / 0.5831 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.14, allocations: 0 / 0.5831 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.14, allocations: 3.938 kB / 0.5831 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1401, allocations: 157.6 kB / 0.5833 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1401, allocations: 4 kB / 0.5833 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.1401, allocations: 3.984 kB / 0.5833 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1402, allocations: 4 kB / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.1402, allocations: 0 / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1402, allocations: 0 / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1402, allocations: 192 / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.748e-05/0.1403, allocations: 139.3 kB / 0.5834 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1403, allocations: 89.08 kB / 0.5835 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.1403, allocations: 4.031 kB / 0.5835 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.1404, allocations: 0 / 0.5835 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-06/0.1404, allocations: 0 / 0.5835 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.1404, allocations: 0 / 0.5835 GB, free: 4.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.958e-05/0.1404, allocations: 83.28 kB / 0.5836 GB, free: 4.641 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1404, allocations: 0 / 0.5836 GB, free: 4.641 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1407, allocations: 4 kB / 0.5836 GB, free: 4.637 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004765/0.1411, allocations: 0.6733 MB / 0.5842 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.645e-05/0.1412, allocations: 11.94 kB / 0.5842 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1412, allocations: 0 / 0.5842 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.1412, allocations: 4 kB / 0.5842 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.1414, allocations: 7.984 kB / 0.5843 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.1423, allocations: 1.154 MB / 0.5854 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1426, allocations: 0.677 MB / 0.586 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.254e-05/0.1426, allocations: 0 / 0.586 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.1426, allocations: 15.44 kB / 0.5861 GB, free: 1.961 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1426, allocations: 0 / 0.5861 GB, free: 1.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3347/0.4773, allocations: 0.9142 MB / 0.587 GB, free: 1.199 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.4775, allocations: 227.2 kB / 0.5872 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.063, allocations: 3.5 kB / 0.5872 GB, free: 0.9375 MB / 494.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)