Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.005649/0.005649, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.001211/0.001211, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9402/0.9402, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 0.5852 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.398, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002066/0.4001, allocations: 1.475 MB / 0.6656 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005027/0.4006, allocations: 429.4 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.4006, allocations: 1.062 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.4007, allocations: 3.938 kB / 0.666 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.4007, allocations: 5.062 kB / 0.666 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.4009, allocations: 23.86 kB / 0.6661 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.4009, allocations: 42.14 kB / 0.6661 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.401, allocations: 22.67 kB / 0.6661 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.4011, allocations: 25.06 kB / 0.6661 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.4012, allocations: 27.45 kB / 0.6662 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4012, allocations: 2.938 kB / 0.6662 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.4012, allocations: 2.75 kB / 0.6662 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.4012, allocations: 5.562 kB / 0.6662 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.4013, allocations: 13.41 kB / 0.6662 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.965e-05/0.4013, allocations: 41.23 kB / 0.6662 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4014, allocations: 0 / 0.6662 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4014, allocations: 4 kB / 0.6662 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.4014, allocations: 0 / 0.6662 GB, free: 5.656 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003424/0.4017, allocations: 340.6 kB / 0.6666 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.4018, allocations: 10.06 kB / 0.6666 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.4018, allocations: 40.2 kB / 0.6666 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.4018, allocations: 7.375 kB / 0.6666 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.097e-05/0.4019, allocations: 173.5 kB / 0.6668 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.4019, allocations: 6.812 kB / 0.6668 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.4019, allocations: 7.031 kB / 0.6668 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.859e-05/0.402, allocations: 61.95 kB / 0.6669 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.402, allocations: 0 / 0.6669 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.4021, allocations: 0 / 0.6669 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4021, allocations: 1.438 kB / 0.6669 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.4021, allocations: 28.45 kB / 0.6669 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.4024, allocations: 279.3 kB / 0.6672 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.4026, allocations: 68.09 kB / 0.6672 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.4026, allocations: 28.95 kB / 0.6672 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.4026, allocations: 1.406 kB / 0.6672 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.4027, allocations: 34.55 kB / 0.6673 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.4027, allocations: 1.375 kB / 0.6673 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001561/0.4028, allocations: 63.31 kB / 0.6673 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.4028, allocations: 56.75 kB / 0.6674 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.215e-05/0.4029, allocations: 99.27 kB / 0.6675 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.4029, allocations: 25.7 kB / 0.6675 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.4029, allocations: 93.34 kB / 0.6676 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.403, allocations: 17.84 kB / 0.6676 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.403, allocations: 21.14 kB / 0.6676 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.403, allocations: 319.9 kB / 0.6679 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.4031, allocations: 9.531 kB / 0.668 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.4031, allocations: 21.89 kB / 0.668 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.4031, allocations: 25.73 kB / 0.668 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4031, allocations: 0 / 0.668 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.53e-05/0.4032, allocations: 60.22 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.4032, allocations: 4.969 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4032, allocations: 0 / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4033, allocations: 1.188 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.4033, allocations: 13.98 kB / 0.6681 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4033, allocations: 1.25 kB / 0.6681 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.4034, allocations: 1.344 kB / 0.6681 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.4034, allocations: 5.375 kB / 0.6681 GB, free: 3.75 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 (5): * Single equations (assignments): 5 * 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 4.21e-05/0.4034, allocations: 116.4 kB / 0.6682 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.4034, allocations: 6.75 kB / 0.6682 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.4036, allocations: 82.06 kB / 0.6683 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4036, allocations: 1.375 kB / 0.6683 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4036, allocations: 1.406 kB / 0.6683 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4036, allocations: 3.984 kB / 0.6683 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.4037, allocations: 186.5 kB / 0.6685 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4037, allocations: 4 kB / 0.6685 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.4038, allocations: 17.97 kB / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4038, allocations: 0.9688 kB / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4038, allocations: 0 / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4038, allocations: 1.312 kB / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4038, allocations: 0 / 0.6685 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.4039, allocations: 175.9 kB / 0.6687 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.404, allocations: 82.52 kB / 0.6687 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.404, allocations: 5.125 kB / 0.6687 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.404, allocations: 4 kB / 0.6687 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.4041, allocations: 3.562 kB / 0.6687 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4041, allocations: 5.359 kB / 0.6688 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.989e-05/0.4041, allocations: 79.12 kB / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4041, allocations: 3.938 kB / 0.6688 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002119/0.4043, allocations: 14.56 kB / 0.6688 GB, free: 2.969 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 (8): * Single equations (assignments): 8 * 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.0002458/0.4046, allocations: 0.7122 MB / 0.6695 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.857e-05/0.4047, allocations: 36.08 kB / 0.6696 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4047, allocations: 0 / 0.6696 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.4047, allocations: 27.81 kB / 0.6696 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.4049, allocations: 2.344 kB / 0.6696 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.4057, allocations: 1.251 MB / 0.6708 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.4058, allocations: 0.6893 MB / 0.6715 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.4058, allocations: 6.203 kB / 0.6715 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.4058, allocations: 15.31 kB / 0.6715 GB, free: 300 kB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4058, allocations: 0 / 0.6715 GB, free: 300 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.4211, allocations: 1.41 MB / 0.6729 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.663, allocations: 9.344 kB / 0.6729 GB, free: 15.51 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)