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.0046/0.0046, allocations: 102 kB / 15.73 MB, free: 6.441 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.001398/0.001398, allocations: 196.2 kB / 16.67 MB, free: 6.352 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8857/0.8857, allocations: 135.6 MB / 426.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 75.89 kB / 0.5858 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3294, allocations: 81.02 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001807/0.3312, allocations: 1.412 MB / 0.6663 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004/0.3316, allocations: 371.8 kB / 0.6666 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.3317, allocations: 0 / 0.6666 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.3317, allocations: 1.125 kB / 0.6666 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.3318, allocations: 7.922 kB / 0.6666 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 1.953e-05/0.3318, allocations: 5.5 kB / 0.6666 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.3319, allocations: 18.95 kB / 0.6667 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.751e-05/0.3319, allocations: 7.812 kB / 0.6667 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.332, allocations: 3.75 kB / 0.6667 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.3321, allocations: 15.48 kB / 0.6667 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3321, allocations: 5.25 kB / 0.6667 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-06/0.3321, allocations: 1.062 kB / 0.6667 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.3321, allocations: 0 / 0.6667 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.3322, allocations: 14.48 kB / 0.6667 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.215e-05/0.3322, allocations: 21.19 kB / 0.6667 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.3322, allocations: 0 / 0.6667 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3322, allocations: 0 / 0.6667 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.3322, allocations: 0 / 0.6667 GB, free: 5.395 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.0002377/0.3325, allocations: 323 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.3325, allocations: 9.719 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.257e-05/0.3325, allocations: 36.09 kB / 0.6671 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.745e-05/0.3326, allocations: 6.266 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.3326, allocations: 169.7 kB / 0.6672 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3327, allocations: 1.562 kB / 0.6672 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-06/0.3327, allocations: 1.875 kB / 0.6672 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.238e-05/0.3327, allocations: 33.48 kB / 0.6673 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3327, allocations: 0 / 0.6673 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.3327, allocations: 0 / 0.6673 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3328, allocations: 1.094 kB / 0.6673 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.3328, allocations: 16.27 kB / 0.6673 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.333, allocations: 244 kB / 0.6675 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.333, allocations: 24.3 kB / 0.6676 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.333, allocations: 14.02 kB / 0.6676 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.3331, allocations: 1.125 kB / 0.6676 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.3331, allocations: 34.56 kB / 0.6676 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3331, allocations: 1.156 kB / 0.6676 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001017/0.3332, allocations: 42.92 kB / 0.6676 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.3332, allocations: 55.39 kB / 0.6677 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.3333, allocations: 102.8 kB / 0.6678 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-06/0.3333, allocations: 25.7 kB / 0.6678 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.3333, allocations: 85.31 kB / 0.6679 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.3333, allocations: 6.609 kB / 0.6679 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.3333, allocations: 16.34 kB / 0.6679 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.3334, allocations: 324 kB / 0.6682 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.3334, allocations: 1.125 kB / 0.6682 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.3334, allocations: 3.031 kB / 0.6682 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/0.3334, allocations: 21.27 kB / 0.6683 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3334, allocations: 0 / 0.6683 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.284e-05/0.3335, allocations: 42.3 kB / 0.6683 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3335, allocations: 9.172 kB / 0.6683 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.3335, allocations: 4.094 kB / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.3335, allocations: 1.125 kB / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.3335, allocations: 2.562 kB / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.3336, allocations: 0 / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.3336, allocations: 1.438 kB / 0.6683 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-06/0.3336, allocations: 0 / 0.6683 GB, free: 3.641 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 3.474e-05/0.3336, allocations: 112.7 kB / 0.6684 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.3336, allocations: 0 / 0.6684 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.3337, allocations: 8.406 kB / 0.6684 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3337, allocations: 4 kB / 0.6684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3337, allocations: 1.188 kB / 0.6684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.3337, allocations: 0 / 0.6684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.002e-05/0.3338, allocations: 153.6 kB / 0.6686 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3338, allocations: 0 / 0.6686 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.3338, allocations: 14.55 kB / 0.6686 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3338, allocations: 1.188 kB / 0.6686 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.3338, allocations: 4 kB / 0.6686 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3338, allocations: 0 / 0.6686 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3338, allocations: 1.469 kB / 0.6686 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.311e-05/0.3339, allocations: 136.1 kB / 0.6687 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.3339, allocations: 86.11 kB / 0.6688 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.3339, allocations: 1.312 kB / 0.6688 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.196e-05/0.334, allocations: 0 / 0.6688 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.334, allocations: 1.5 kB / 0.6688 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/0.334, allocations: 0 / 0.6688 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.881e-05/0.334, allocations: 82.12 kB / 0.6689 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.334, allocations: 1.062 kB / 0.6689 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001981/0.3342, allocations: 6.844 kB / 0.6689 GB, free: 2.973 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.0001824/0.3344, allocations: 0.6729 MB / 0.6696 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.45e-05/0.3345, allocations: 10.47 kB / 0.6696 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3345, allocations: 96 / 0.6696 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/0.3345, allocations: 16.05 kB / 0.6696 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.3347, allocations: 1.25 kB / 0.6696 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.3352, allocations: 1.155 MB / 0.6707 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.857e-05/0.3353, allocations: 0.6763 MB / 0.6714 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.293e-05/0.3353, allocations: 1.406 kB / 0.6714 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.3354, allocations: 8.531 kB / 0.6714 GB, free: 400 kB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.3354, allocations: 0 / 0.6714 GB, free: 400 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/0.4534, allocations: 1.062 MB / 0.6724 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.897, allocations: 16.44 kB / 0.6724 GB, free: 15.8 MB / 0.5137 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)