Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.008072/0.008072, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002089/0.002089, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002493, allocations: 288.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9964/0.9964, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002739, allocations: 99.84 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3862, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002479/0.3887, allocations: 1.437 MB / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.3896, allocations: 0.5161 MB / 0.7678 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.3896, allocations: 0 / 0.7678 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.3897, allocations: 7.922 kB / 0.7678 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.3899, allocations: 11.94 kB / 0.7678 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.39, allocations: 35.89 kB / 0.7679 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.3901, allocations: 51.84 kB / 0.7679 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.3902, allocations: 7.656 kB / 0.7679 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.3902, allocations: 27.84 kB / 0.768 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.3903, allocations: 27.92 kB / 0.768 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3904, allocations: 4 kB / 0.768 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.3904, allocations: 4 kB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.3904, allocations: 7.984 kB / 0.768 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.3905, allocations: 23.84 kB / 0.768 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.822e-05/0.3906, allocations: 39.89 kB / 0.7681 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3906, allocations: 0 / 0.7681 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3906, allocations: 0 / 0.7681 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3906, allocations: 3.984 kB / 0.7681 GB, free: 1.633 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005888/0.3912, allocations: 355 kB / 0.7684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3912, allocations: 12.03 kB / 0.7684 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.3913, allocations: 38.67 kB / 0.7685 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.3913, allocations: 8.891 kB / 0.7685 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3914, allocations: 168.4 kB / 0.7686 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3915, allocations: 4.359 kB / 0.7686 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3915, allocations: 4.375 kB / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3916, allocations: 65.73 kB / 0.7687 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3916, allocations: 3.984 kB / 0.7687 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3916, allocations: 0 / 0.7687 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3917, allocations: 0 / 0.7687 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.045e-05/0.3917, allocations: 27.98 kB / 0.7687 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3921, allocations: 276.8 kB / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.3923, allocations: 66.61 kB / 0.7691 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.3924, allocations: 20.86 kB / 0.7691 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.3924, allocations: 0 / 0.7691 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3926, allocations: 75.33 kB / 0.7691 GB, free: 372 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3926, allocations: 4 kB / 0.7691 GB, free: 368 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0002288/0.3928, allocations: 89.61 kB / 0.7692 GB, free: 272 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3929, allocations: 51.41 kB / 0.7693 GB, free: 208 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.393, allocations: 105.8 kB / 0.7694 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.393, allocations: 25.7 kB / 0.7694 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.3931, allocations: 84.14 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.3931, allocations: 19.84 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.3931, allocations: 21.72 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3933, allocations: 326.8 kB / 0.7698 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.3933, allocations: 16.06 kB / 0.7699 GB, free: 15.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.227e-05/0.3934, allocations: 15.98 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.296e-05/0.3935, allocations: 37 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3935, allocations: 0 / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001369/0.3936, allocations: 73.61 kB / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.3936, allocations: 7.938 kB / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3936, allocations: 4 kB / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3936, allocations: 0 / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.3937, allocations: 15.98 kB / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3937, allocations: 0 / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.3938, allocations: 8 kB / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3938, allocations: 0 / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.969e-05/0.3939, allocations: 120.4 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.394, allocations: 3.953 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.3942, allocations: 113.4 kB / 0.7702 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3942, allocations: 4 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3942, allocations: 0 / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3942, allocations: 3.984 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.3944, allocations: 185.6 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3944, allocations: 4.188 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.3945, allocations: 15.98 kB / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3945, allocations: 0 / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3945, allocations: 0 / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3945, allocations: 4 kB / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3945, allocations: 0 / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.3947, allocations: 124.9 kB / 0.7706 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.3948, allocations: 81.11 kB / 0.7706 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3948, allocations: 4 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3949, allocations: 3.984 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3949, allocations: 7.984 kB / 0.7707 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3949, allocations: 8 kB / 0.7707 GB, free: 14.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.395, allocations: 79.28 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.395, allocations: 0 / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002784/0.3953, allocations: 19.95 kB / 0.7708 GB, free: 14.55 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005028/0.3958, allocations: 0.6553 MB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.3959, allocations: 52.14 kB / 0.7714 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3959, allocations: 0 / 0.7714 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.755e-05/0.396, allocations: 35.92 kB / 0.7715 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.3962, allocations: 9.422 kB / 0.7715 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3974, allocations: 1.227 MB / 0.7727 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3978, allocations: 0.6884 MB / 0.7734 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.3978, allocations: 7.75 kB / 0.7734 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.3979, allocations: 23.42 kB / 0.7734 GB, free: 11.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3979, allocations: 0 / 0.7734 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2345/0.6324, allocations: 1.678 MB / 0.775 GB, free: 10.22 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/9.21, allocations: 7.172 kB / 0.775 GB, free: 10.22 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)