Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_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.001094/0.001094, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.17/1.17, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8236/0.8236, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 68.39 kB / 0.5055 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1472, allocations: 80.92 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002435/0.1497, allocations: 1.404 MB / 0.5859 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.1502, allocations: 368.9 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.1503, allocations: 0 / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.1503, allocations: 3.938 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.1504, allocations: 3.938 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.543e-05/0.1504, allocations: 7.984 kB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.1505, allocations: 19.88 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1506, allocations: 8 kB / 0.5862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1507, allocations: 7.984 kB / 0.5863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.1508, allocations: 12 kB / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1508, allocations: 3.938 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.1508, allocations: 4 kB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1508, allocations: 3.984 kB / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.1509, allocations: 4 kB / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.336e-05/0.1509, allocations: 19.92 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1509, allocations: 3.984 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1509, allocations: 0 / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.151, allocations: 0 / 0.5863 GB, free: 2.559 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.0003353/0.1513, allocations: 331.7 kB / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1513, allocations: 8.031 kB / 0.5866 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.1514, allocations: 38.69 kB / 0.5867 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.704e-05/0.1514, allocations: 0.9375 kB / 0.5867 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1515, allocations: 160.4 kB / 0.5868 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1516, allocations: 4.375 kB / 0.5868 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.1516, allocations: 4.375 kB / 0.5868 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.455e-05/0.1516, allocations: 37.81 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1517, allocations: 0 / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.1517, allocations: 0 / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1517, allocations: 4 kB / 0.5869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.1517, allocations: 8 kB / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.152, allocations: 248.8 kB / 0.5871 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.601e-05/0.152, allocations: 22.58 kB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.1521, allocations: 16.92 kB / 0.5872 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1521, allocations: 0 / 0.5872 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1521, allocations: 38.5 kB / 0.5872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1521, allocations: 0 / 0.5872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.1522, allocations: 49.56 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1523, allocations: 55.41 kB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.1524, allocations: 97.86 kB / 0.5874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1524, allocations: 25.7 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1524, allocations: 84.12 kB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1524, allocations: 11.97 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1525, allocations: 13.72 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1526, allocations: 318.8 kB / 0.5878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.1526, allocations: 4 kB / 0.5878 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.1526, allocations: 0 / 0.5878 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.1526, allocations: 12.86 kB / 0.5878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1527, allocations: 4 kB / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.42e-05/0.1527, allocations: 49.69 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1527, allocations: 4 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1527, allocations: 0 / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.1527, allocations: 0 / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.1528, allocations: 4 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1528, allocations: 0 / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.1528, allocations: 0 / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-06/0.1528, allocations: 0 / 0.5879 GB, free: 0.7031 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.848e-05/0.1529, allocations: 113.8 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.1529, allocations: 192 / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.153, allocations: 19.12 kB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.153, allocations: 0 / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.153, allocations: 0 / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.153, allocations: 4 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1531, allocations: 149.6 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1531, allocations: 4 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.1531, allocations: 4 kB / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1531, allocations: 0 / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1532, allocations: 4 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1532, allocations: 0 / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1532, allocations: 7.938 kB / 0.5882 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.1533, allocations: 139.5 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.1534, allocations: 84.95 kB / 0.5884 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1534, allocations: 4 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.1534, allocations: 0 / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-06/0.1535, allocations: 0 / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.1535, allocations: 0 / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.1535, allocations: 87.38 kB / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1535, allocations: 0 / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002034/0.1537, allocations: 8 kB / 0.5885 GB, free: 15.99 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.0003153/0.154, allocations: 0.6746 MB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.1541, allocations: 12.03 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1541, allocations: 0 / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.1541, allocations: 4 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.1543, allocations: 6.344 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.1552, allocations: 1.156 MB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1554, allocations: 0.6806 MB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.256e-05/0.1554, allocations: 0 / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.1554, allocations: 7.438 kB / 0.591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1554, allocations: 4.031 kB / 0.591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.98/2.135, allocations: 1.039 MB / 0.592 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.208/11.34, allocations: 9.219 kB / 0.592 GB, free: 12.41 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)