Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_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.001048/0.001048, allocations: 108 kB / 15.6 MB, free: 128 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.001082/0.001082, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7168/0.7168, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.61 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002214/0.3285, allocations: 1.479 MB / 0.5816 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005171/0.329, allocations: 432.2 kB / 0.582 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.3291, allocations: 0.875 kB / 0.582 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.3291, allocations: 5.391 kB / 0.5821 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.3292, allocations: 10.97 kB / 0.5821 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.3293, allocations: 21.22 kB / 0.5821 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.3294, allocations: 35.39 kB / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.3295, allocations: 32.34 kB / 0.5821 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.3296, allocations: 20.84 kB / 0.5822 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.3296, allocations: 18.78 kB / 0.5822 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3297, allocations: 2.969 kB / 0.5822 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.3297, allocations: 3.281 kB / 0.5822 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.3297, allocations: 7.766 kB / 0.5822 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.3297, allocations: 23.92 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.275e-05/0.3298, allocations: 35.52 kB / 0.5823 GB, free: 3.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3298, allocations: 4 kB / 0.5823 GB, free: 3.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3298, allocations: 0 / 0.5823 GB, free: 3.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3298, allocations: 1.328 kB / 0.5823 GB, free: 3.141 MB / 430.1 MB 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.0003487/0.3302, allocations: 346.9 kB / 0.5826 GB, free: 2.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3302, allocations: 8.219 kB / 0.5826 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.3303, allocations: 37.45 kB / 0.5826 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.3303, allocations: 7.484 kB / 0.5826 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.3304, allocations: 175.7 kB / 0.5828 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3304, allocations: 6.25 kB / 0.5828 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.3304, allocations: 2.719 kB / 0.5828 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.949e-05/0.3305, allocations: 57.67 kB / 0.5829 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.3305, allocations: 0 / 0.5829 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3305, allocations: 1.25 kB / 0.5829 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3305, allocations: 0.6562 kB / 0.5829 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.3306, allocations: 28.11 kB / 0.5829 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.3309, allocations: 285.5 kB / 0.5832 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.331, allocations: 61.77 kB / 0.5832 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.3311, allocations: 32.33 kB / 0.5833 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3311, allocations: 0 / 0.5833 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.3311, allocations: 35.09 kB / 0.5833 GB, free: 2.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3311, allocations: 0.75 kB / 0.5833 GB, free: 2.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001559/0.3313, allocations: 65.91 kB / 0.5834 GB, free: 2.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.3313, allocations: 52.77 kB / 0.5834 GB, free: 1.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.3314, allocations: 105.6 kB / 0.5835 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.3314, allocations: 25.7 kB / 0.5835 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.3314, allocations: 90.22 kB / 0.5836 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.3314, allocations: 27.69 kB / 0.5836 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.3315, allocations: 20.03 kB / 0.5837 GB, free: 1.703 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.3315, allocations: 320.1 kB / 0.584 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.3315, allocations: 11.2 kB / 0.584 GB, free: 1.379 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.3316, allocations: 15.19 kB / 0.584 GB, free: 1.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.3316, allocations: 27.25 kB / 0.584 GB, free: 1.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3316, allocations: 0 / 0.584 GB, free: 1.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.677e-05/0.3317, allocations: 60.31 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3317, allocations: 5.25 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3317, allocations: 0.6562 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3317, allocations: 0.9375 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.3318, allocations: 15.73 kB / 0.5841 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3318, allocations: 1.344 kB / 0.5841 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.3318, allocations: 1.312 kB / 0.5841 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3318, allocations: 1.906 kB / 0.5841 GB, free: 1.305 MB / 430.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 (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.159e-05/0.3319, allocations: 118.6 kB / 0.5842 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3319, allocations: 1.094 kB / 0.5842 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.3321, allocations: 83.73 kB / 0.5843 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3321, allocations: 4.781 kB / 0.5843 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3321, allocations: 1.766 kB / 0.5843 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3321, allocations: 0.6562 kB / 0.5843 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3322, allocations: 181.8 kB / 0.5845 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3322, allocations: 1.25 kB / 0.5845 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3323, allocations: 14.56 kB / 0.5845 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3323, allocations: 1.422 kB / 0.5845 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3323, allocations: 1.094 kB / 0.5845 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3323, allocations: 1.641 kB / 0.5845 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3323, allocations: 192 / 0.5845 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.3324, allocations: 172.8 kB / 0.5847 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3324, allocations: 90.94 kB / 0.5848 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3325, allocations: 2.141 kB / 0.5848 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.3325, allocations: 5 kB / 0.5848 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.3325, allocations: 4.234 kB / 0.5848 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3326, allocations: 5.125 kB / 0.5848 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.043e-05/0.3326, allocations: 79.77 kB / 0.5848 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3326, allocations: 5.656 kB / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.3328, allocations: 22.88 kB / 0.5849 GB, free: 0.5508 MB / 430.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 (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.0002707/0.3331, allocations: 0.6966 MB / 0.5856 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.3332, allocations: 46.38 kB / 0.5856 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3332, allocations: 1.062 kB / 0.5856 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.3332, allocations: 21.14 kB / 0.5856 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.3334, allocations: 9.438 kB / 0.5856 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.3344, allocations: 1.24 MB / 0.5868 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.3346, allocations: 0.687 MB / 0.5875 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.3346, allocations: 3.859 kB / 0.5875 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.3346, allocations: 20.7 kB / 0.5875 GB, free: 13.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3347, allocations: 0 / 0.5875 GB, free: 13.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.3514, allocations: 1.35 MB / 0.5889 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.567/6.918, allocations: 1.75 kB / 0.5889 GB, free: 13.61 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)