Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 113.9 kB / 16.41 MB, free: 6.484 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.001147/0.001148, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 289.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.951/0.951, allocations: 169.3 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 87.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4091, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002824/0.4119, allocations: 1.48 MB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/0.4128, allocations: 472.7 kB / 0.769 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.4129, allocations: 0 / 0.769 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.413, allocations: 7.922 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.4133, allocations: 31.84 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 8.982e-05/0.4133, allocations: 7.938 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.4135, allocations: 55.84 kB / 0.7691 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.4136, allocations: 11.5 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.4137, allocations: 27.86 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.4138, allocations: 27.91 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4138, allocations: 4 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.4138, allocations: 4 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.4139, allocations: 7.938 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.4139, allocations: 23.91 kB / 0.7692 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.63e-05/0.414, allocations: 39.89 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.414, allocations: 0 / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.414, allocations: 0 / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.414, allocations: 0 / 0.7692 GB, free: 1.703 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005414/0.4146, allocations: 354.1 kB / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4146, allocations: 12.03 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.4147, allocations: 4.844 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4148, allocations: 176.2 kB / 0.7697 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4148, allocations: 8.312 kB / 0.7697 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.4149, allocations: 4.375 kB / 0.7697 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.415, allocations: 53.98 kB / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.415, allocations: 0 / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.415, allocations: 0 / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.415, allocations: 4 kB / 0.7698 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.4151, allocations: 23.98 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.4154, allocations: 276.8 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.4155, allocations: 38.67 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.4156, allocations: 20.84 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.4156, allocations: 0 / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.4158, allocations: 67.39 kB / 0.7702 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.4158, allocations: 3.938 kB / 0.7702 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002284/0.416, allocations: 85.61 kB / 0.7703 GB, free: 436 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.4161, allocations: 51.41 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.4162, allocations: 113.8 kB / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.4162, allocations: 25.7 kB / 0.7705 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.4162, allocations: 88.05 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4163, allocations: 19.75 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.4163, allocations: 21.7 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4164, allocations: 318.8 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.4165, allocations: 15.98 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.4165, allocations: 8 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.885e-05/0.4166, allocations: 33.23 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4166, allocations: 3.938 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001066/0.4167, allocations: 61.69 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4167, allocations: 8 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4167, allocations: 4 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4167, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.4168, allocations: 11.98 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4168, allocations: 0 / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.4169, allocations: 0 / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.4169, allocations: 8 kB / 0.771 GB, free: 15.59 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.271e-05/0.417, allocations: 112.2 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.417, allocations: 7.906 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.4171, allocations: 15.89 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4171, allocations: 4 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4171, allocations: 7.938 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4171, allocations: 0 / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4172, allocations: 169.6 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4172, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.4173, allocations: 7.984 kB / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4173, allocations: 3.984 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4173, allocations: 0 / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.4173, allocations: 4.312 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4173, allocations: 0 / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.4175, allocations: 97.06 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.4175, allocations: 85 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.4175, allocations: 4 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.4176, allocations: 128 / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4177, allocations: 15.98 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4177, allocations: 0 / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.4177, allocations: 95.2 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4177, allocations: 0 / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001909/0.4179, allocations: 15.94 kB / 0.7717 GB, free: 14.87 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001087/0.418, allocations: 103.2 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4182, allocations: 39.92 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4182, allocations: 0 / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.335e-05/0.4182, allocations: 19.94 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.4184, allocations: 4 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.4187, allocations: 171.8 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.4189, allocations: 0.6807 MB / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.419, allocations: 11.44 kB / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.419, allocations: 0 / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Templates: time 0.001957/0.4209, allocations: 0.7346 MB / 0.7734 GB, free: 13.05 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)