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.00523/0.00523, allocations: 101 kB / 15.73 MB, free: 6.059 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.001407/0.001407, allocations: 192.9 kB / 16.68 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7721/0.7721, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 64.33 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1291, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002261/0.1314, allocations: 1.426 MB / 0.6606 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005348/0.1319, allocations: 363.1 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.132, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.132, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.1321, allocations: 7.922 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.3e-05/0.1321, allocations: 8 kB / 0.661 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.1322, allocations: 23.92 kB / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.1322, allocations: 0 / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1324, allocations: 11.94 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.1324, allocations: 11.92 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1324, allocations: 0 / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.1325, allocations: 4 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1325, allocations: 0 / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1325, allocations: 15.92 kB / 0.661 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.066e-05/0.1326, allocations: 16.2 kB / 0.661 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1326, allocations: 4 kB / 0.661 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1326, allocations: 0 / 0.661 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.1326, allocations: 0 / 0.661 GB, free: 8.875 MB / 0.4981 GB 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.0003693/0.133, allocations: 323.5 kB / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.133, allocations: 8.031 kB / 0.6614 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.133, allocations: 34.75 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.1331, allocations: 12.86 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1332, allocations: 160.4 kB / 0.6616 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1332, allocations: 384 / 0.6616 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1332, allocations: 8.375 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.1333, allocations: 41.77 kB / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1333, allocations: 0 / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.1333, allocations: 0 / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1333, allocations: 3.984 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.1334, allocations: 4 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.1336, allocations: 240.9 kB / 0.6618 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.455e-05/0.1337, allocations: 34.55 kB / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.1337, allocations: 12.92 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.1338, allocations: 0 / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1338, allocations: 30.56 kB / 0.6619 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1338, allocations: 0 / 0.6619 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001209/0.1339, allocations: 45.64 kB / 0.662 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.134, allocations: 51.41 kB / 0.662 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.134, allocations: 109.9 kB / 0.6621 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1341, allocations: 25.7 kB / 0.6621 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.1341, allocations: 80.14 kB / 0.6622 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.1341, allocations: 7.953 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1342, allocations: 17.7 kB / 0.6622 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1343, allocations: 318.7 kB / 0.6625 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.1343, allocations: 8 kB / 0.6625 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-06/0.1343, allocations: 0 / 0.6625 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.442e-05/0.1344, allocations: 16.92 kB / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1344, allocations: 0 / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.631e-05/0.1344, allocations: 41.69 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1344, allocations: 4 kB / 0.6626 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1344, allocations: 0 / 0.6626 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1345, allocations: 0 / 0.6626 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.1345, allocations: 4 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1345, allocations: 3.938 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.1345, allocations: 3.938 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.1345, allocations: 4.031 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB 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 7.655e-05/0.1346, allocations: 122.7 kB / 0.6627 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.1346, allocations: 3.938 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.1347, allocations: 3.125 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1347, allocations: 0 / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1347, allocations: 0 / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1347, allocations: 3.984 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1348, allocations: 161.6 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1348, allocations: 192 / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.1349, allocations: 8 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1349, allocations: 0 / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1349, allocations: 3.984 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.1349, allocations: 7.984 kB / 0.6629 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1349, allocations: 0 / 0.6629 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.942e-05/0.135, allocations: 131.5 kB / 0.663 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.135, allocations: 88.98 kB / 0.6631 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.1351, allocations: 0 / 0.6631 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.1351, allocations: 8.031 kB / 0.6631 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.1351, allocations: 4 kB / 0.6631 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.1351, allocations: 0 / 0.6631 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.1352, allocations: 79.28 kB / 0.6632 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1352, allocations: 0 / 0.6632 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002055/0.1354, allocations: 4 kB / 0.6632 GB, free: 6.305 MB / 0.4981 GB 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.0003815/0.1358, allocations: 0.6733 MB / 0.6639 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.1359, allocations: 15.92 kB / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1359, allocations: 0 / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.1359, allocations: 8 kB / 0.6639 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.1361, allocations: 1.562 kB / 0.6639 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.137, allocations: 1.148 MB / 0.665 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1373, allocations: 0.6808 MB / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.1373, allocations: 0 / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1373, allocations: 7.438 kB / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1373, allocations: 4 kB / 0.6657 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2142/0.3516, allocations: 1.056 MB / 0.6667 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.135, allocations: 10.44 kB / 0.6667 GB, free: 2.711 MB / 0.4981 GB (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)