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.004782/0.004783, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001174/0.001174, allocations: 191.2 kB / 16.67 MB, free: 5.91 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: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9017/0.9017, allocations: 135.5 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 67.91 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3253, allocations: 81.02 MB / 0.6649 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001901/0.3272, allocations: 1.456 MB / 0.6663 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004888/0.3277, allocations: 429.2 kB / 0.6667 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.3278, allocations: 0 / 0.6667 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.3278, allocations: 8.984 kB / 0.6667 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.3279, allocations: 13.05 kB / 0.6667 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.328, allocations: 15.86 kB / 0.6668 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.3281, allocations: 49.25 kB / 0.6668 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.3282, allocations: 19.27 kB / 0.6668 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.3283, allocations: 20.89 kB / 0.6668 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.3283, allocations: 18.92 kB / 0.6669 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3283, allocations: 3.625 kB / 0.6669 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.3284, allocations: 2.75 kB / 0.6669 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.3284, allocations: 13.28 kB / 0.6669 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.3284, allocations: 17.53 kB / 0.6669 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.288e-05/0.3285, allocations: 45.78 kB / 0.6669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3285, allocations: 1.219 kB / 0.6669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3285, allocations: 4 kB / 0.6669 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.3285, allocations: 0 / 0.6669 GB, free: 5.344 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.0003165/0.3288, allocations: 349.4 kB / 0.6673 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3289, allocations: 10.41 kB / 0.6673 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.991e-05/0.3289, allocations: 31.53 kB / 0.6673 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.3289, allocations: 7.859 kB / 0.6673 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.329, allocations: 173.7 kB / 0.6675 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.329, allocations: 5.719 kB / 0.6675 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.329, allocations: 4.031 kB / 0.6675 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.469e-05/0.3291, allocations: 61.58 kB / 0.6676 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.3291, allocations: 0 / 0.6676 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3291, allocations: 5.5 kB / 0.6676 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3292, allocations: 0 / 0.6676 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.3292, allocations: 21.92 kB / 0.6676 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.3295, allocations: 281.9 kB / 0.6679 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3296, allocations: 60.19 kB / 0.6679 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.3297, allocations: 33 kB / 0.6679 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.3297, allocations: 1.594 kB / 0.6679 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.548e-06/0.3297, allocations: 30.56 kB / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3297, allocations: 0 / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0001497/0.3299, allocations: 85.31 kB / 0.6681 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.3299, allocations: 56.88 kB / 0.6681 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.608e-05/0.3299, allocations: 94.05 kB / 0.6682 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.3299, allocations: 29.7 kB / 0.6682 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.33, allocations: 81.52 kB / 0.6683 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.33, allocations: 21.97 kB / 0.6683 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.33, allocations: 18.19 kB / 0.6683 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.3301, allocations: 331.9 kB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.3301, allocations: 4.625 kB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.3301, allocations: 14.53 kB / 0.6687 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.271e-05/0.3301, allocations: 32.56 kB / 0.6687 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3302, allocations: 1.5 kB / 0.6687 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.018e-05/0.3302, allocations: 62.94 kB / 0.6688 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.3302, allocations: 5.156 kB / 0.6688 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.3302, allocations: 0 / 0.6688 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.3303, allocations: 1.469 kB / 0.6688 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.3303, allocations: 7.094 kB / 0.6688 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.3303, allocations: 0 / 0.6688 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.3304, allocations: 5.672 kB / 0.6688 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3304, allocations: 4 kB / 0.6688 GB, free: 3.438 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 3.898e-05/0.3304, allocations: 116.4 kB / 0.6689 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3304, allocations: 1.281 kB / 0.6689 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.3306, allocations: 91.31 kB / 0.669 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3306, allocations: 1.125 kB / 0.669 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3306, allocations: 0 / 0.669 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3306, allocations: 1.25 kB / 0.669 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3307, allocations: 177.9 kB / 0.6692 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3307, allocations: 4 kB / 0.6692 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.3308, allocations: 15.14 kB / 0.6692 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3308, allocations: 0 / 0.6692 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3308, allocations: 1.312 kB / 0.6692 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3308, allocations: 4 kB / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.3308, allocations: 1.406 kB / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.827e-05/0.3309, allocations: 171.3 kB / 0.6694 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.3309, allocations: 90.14 kB / 0.6694 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3309, allocations: 9.406 kB / 0.6695 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.626e-05/0.331, allocations: 0 / 0.6695 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.331, allocations: 2.906 kB / 0.6695 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.331, allocations: 1.625 kB / 0.6695 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.884e-05/0.331, allocations: 86.05 kB / 0.6695 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3311, allocations: 0.9688 kB / 0.6695 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000206/0.3313, allocations: 11.56 kB / 0.6696 GB, free: 2.664 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.0002302/0.3315, allocations: 0.7151 MB / 0.6702 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.189e-05/0.3316, allocations: 36.7 kB / 0.6703 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3316, allocations: 0 / 0.6703 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.3316, allocations: 27.67 kB / 0.6703 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.3318, allocations: 5.312 kB / 0.6703 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.3325, allocations: 1.241 MB / 0.6715 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.3326, allocations: 0.6858 MB / 0.6722 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.3326, allocations: 2.828 kB / 0.6722 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.3327, allocations: 18.61 kB / 0.6722 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3327, allocations: 0 / 0.6722 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/0.4534, allocations: 1.394 MB / 0.6736 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.991, allocations: 5.125 kB / 0.6736 GB, free: 15.23 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)