Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.004182/0.004182, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.68 MB, free: 5.973 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.362/1.362, 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.9309/0.9309, allocations: 135.6 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 0.5858 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3493, allocations: 81.03 MB / 0.6649 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001476/0.3509, allocations: 0.6793 MB / 0.6656 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.3517, allocations: 1.097 MB / 0.6666 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.3517, allocations: 0 / 0.6666 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.3518, allocations: 3.938 kB / 0.6666 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.253e-05/0.3518, allocations: 1.531 kB / 0.6666 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.352, allocations: 18.58 kB / 0.6667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.352, allocations: 20.03 kB / 0.6667 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.249e-05/0.3521, allocations: 2.812 kB / 0.6667 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.3522, allocations: 12.92 kB / 0.6667 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.3522, allocations: 10.44 kB / 0.6667 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3522, allocations: 1.375 kB / 0.6667 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.3522, allocations: 1.469 kB / 0.6667 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3523, allocations: 5.453 kB / 0.6667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.3523, allocations: 9.328 kB / 0.6667 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.737e-05/0.3523, allocations: 20.89 kB / 0.6667 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3524, allocations: 0 / 0.6667 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3524, allocations: 0 / 0.6667 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3524, allocations: 0 / 0.6667 GB, free: 5.633 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002805/0.3527, allocations: 329.1 kB / 0.667 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3527, allocations: 8.812 kB / 0.6671 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.892e-05/0.3527, allocations: 36.25 kB / 0.6671 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.778e-05/0.3527, allocations: 2.25 kB / 0.6671 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.088e-05/0.3528, allocations: 160.4 kB / 0.6672 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3528, allocations: 2.062 kB / 0.6672 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.3528, allocations: 1.656 kB / 0.6672 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.106e-05/0.3529, allocations: 43.16 kB / 0.6673 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3529, allocations: 0 / 0.6673 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3529, allocations: 5 kB / 0.6673 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3529, allocations: 0 / 0.6673 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.353, allocations: 18.77 kB / 0.6673 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.3532, allocations: 246.7 kB / 0.6675 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3533, allocations: 37.36 kB / 0.6676 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.3534, allocations: 22.47 kB / 0.6676 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3534, allocations: 0 / 0.6676 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.718e-06/0.3534, allocations: 36.09 kB / 0.6676 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.3534, allocations: 3.984 kB / 0.6676 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001331/0.3535, allocations: 55.39 kB / 0.6677 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.3536, allocations: 52.72 kB / 0.6677 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.318e-05/0.3536, allocations: 89.86 kB / 0.6678 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.3536, allocations: 25.7 kB / 0.6679 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.374e-05/0.3536, allocations: 89.48 kB / 0.6679 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.3536, allocations: 14.31 kB / 0.668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.3537, allocations: 12.19 kB / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.369e-05/0.3537, allocations: 312.1 kB / 0.6683 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.3537, allocations: 10.7 kB / 0.6683 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.3537, allocations: 6.938 kB / 0.6683 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.3538, allocations: 32.92 kB / 0.6683 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3538, allocations: 0 / 0.6683 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.802e-05/0.3538, allocations: 49.66 kB / 0.6684 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.3539, allocations: 8.547 kB / 0.6684 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3539, allocations: 1.5 kB / 0.6684 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.3539, allocations: 0 / 0.6684 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.066e-05/0.3539, allocations: 4.406 kB / 0.6684 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3539, allocations: 0 / 0.6684 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.354, allocations: 5.062 kB / 0.6684 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.354, allocations: 1.125 kB / 0.6684 GB, free: 3.844 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 (3): * Single equations (assignments): 3 * 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.744e-05/0.354, allocations: 114.9 kB / 0.6685 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.354, allocations: 13.03 kB / 0.6685 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.3542, allocations: 68.66 kB / 0.6686 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3542, allocations: 1.281 kB / 0.6686 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3542, allocations: 0 / 0.6686 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3542, allocations: 3.984 kB / 0.6686 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.3543, allocations: 169.7 kB / 0.6687 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3543, allocations: 0 / 0.6687 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.3543, allocations: 7.594 kB / 0.6687 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3544, allocations: 1.469 kB / 0.6687 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3544, allocations: 0 / 0.6687 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3544, allocations: 5.375 kB / 0.6687 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3544, allocations: 0 / 0.6687 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.533e-05/0.3545, allocations: 161 kB / 0.6689 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.3545, allocations: 81.09 kB / 0.669 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.3545, allocations: 1.438 kB / 0.669 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.3546, allocations: 4.125 kB / 0.669 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.3546, allocations: 7 kB / 0.669 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3546, allocations: 1.25 kB / 0.669 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.138e-06/0.3546, allocations: 79.28 kB / 0.6691 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3546, allocations: 3.938 kB / 0.6691 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002058/0.3548, allocations: 4.094 kB / 0.6691 GB, free: 3.094 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 (6): * Single equations (assignments): 6 * 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.0002237/0.355, allocations: 0.7044 MB / 0.6698 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.783e-05/0.3551, allocations: 21.92 kB / 0.6698 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3551, allocations: 4 kB / 0.6698 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.3552, allocations: 19.94 kB / 0.6698 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.3553, allocations: 7.25 kB / 0.6698 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3557, allocations: 148.5 kB / 0.67 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.04e-05/0.3557, allocations: 0.6782 MB / 0.6706 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.3558, allocations: 10.72 kB / 0.6706 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.3558, allocations: 17.95 kB / 0.6706 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3558, allocations: 0 / 0.6706 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/0.4871, allocations: 1.185 MB / 0.6718 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.915, allocations: 10.31 kB / 0.6718 GB, free: 0.8516 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)