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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.005266/0.005266, allocations: 98.3 kB / 15.73 MB, free: 5.977 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.001312/0.001312, allocations: 196.8 kB / 16.68 MB, free: 5.906 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002523/0.002523, allocations: 280 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.9897/0.9897, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 95.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3862, allocations: 86.98 MB / 0.7659 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002619/0.3888, allocations: 1.476 MB / 0.7674 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.3896, allocations: 480.6 kB / 0.7678 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.3897, allocations: 0 / 0.7678 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.3897, allocations: 3.984 kB / 0.7678 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.39, allocations: 31.78 kB / 0.7679 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.421e-05/0.39, allocations: 11.98 kB / 0.7679 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.455e-05/0.3901, allocations: 55.78 kB / 0.7679 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.3902, allocations: 11.66 kB / 0.7679 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.3903, allocations: 19.92 kB / 0.7679 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-05/0.3904, allocations: 27.91 kB / 0.768 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3904, allocations: 4 kB / 0.768 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.3905, allocations: 4 kB / 0.768 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.3905, allocations: 11.92 kB / 0.768 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.3905, allocations: 19.92 kB / 0.768 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.3906, allocations: 35.89 kB / 0.768 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3906, allocations: 0 / 0.768 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3907, allocations: 3.938 kB / 0.7681 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3907, allocations: 4 kB / 0.7681 GB, free: 1.805 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.0006893/0.3914, allocations: 364.7 kB / 0.7684 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3914, allocations: 8.031 kB / 0.7684 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.3915, allocations: 30.75 kB / 0.7684 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3915, allocations: 8.875 kB / 0.7684 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3917, allocations: 180.3 kB / 0.7686 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3917, allocations: 384 / 0.7686 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3918, allocations: 4.375 kB / 0.7686 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.3919, allocations: 53.81 kB / 0.7687 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3919, allocations: 3.938 kB / 0.7687 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3919, allocations: 0 / 0.7687 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3919, allocations: 4 kB / 0.7687 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.392, allocations: 19.92 kB / 0.7687 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.3924, allocations: 268.9 kB / 0.769 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3925, allocations: 46.56 kB / 0.769 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.3925, allocations: 20.86 kB / 0.769 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.3925, allocations: 4 kB / 0.769 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.3927, allocations: 67.42 kB / 0.7691 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3927, allocations: 0 / 0.7691 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002251/0.3929, allocations: 81.62 kB / 0.7692 GB, free: 500 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.393, allocations: 51.41 kB / 0.7692 GB, free: 436 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.3931, allocations: 109.8 kB / 0.7693 GB, free: 316 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3931, allocations: 33.7 kB / 0.7694 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.3932, allocations: 84.14 kB / 0.7694 GB, free: 188 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3932, allocations: 19.83 kB / 0.7695 GB, free: 168 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.3933, allocations: 17.72 kB / 0.7695 GB, free: 144 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3934, allocations: 318.8 kB / 0.7698 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.3935, allocations: 15.94 kB / 0.7698 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.3935, allocations: 12 kB / 0.7698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.797e-05/0.3936, allocations: 37.22 kB / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3936, allocations: 4 kB / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001213/0.3937, allocations: 65.66 kB / 0.7699 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3937, allocations: 7.984 kB / 0.7699 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.3938, allocations: 0 / 0.7699 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3938, allocations: 3.984 kB / 0.7699 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.3938, allocations: 11.94 kB / 0.7699 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3939, allocations: 0 / 0.7699 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.3939, allocations: 4 kB / 0.7699 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3939, allocations: 0 / 0.7699 GB, free: 15.65 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 9.146e-05/0.394, allocations: 129.7 kB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3941, allocations: 0 / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.3941, allocations: 11.97 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3941, allocations: 0 / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3941, allocations: 0 / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3941, allocations: 0 / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3943, allocations: 177.5 kB / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3943, allocations: 0 / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.3943, allocations: 4 kB / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3943, allocations: 4 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3943, allocations: 0 / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3943, allocations: 7.938 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3943, allocations: 0 / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3945, allocations: 96.98 kB / 0.7703 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.3946, allocations: 89.06 kB / 0.7704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3946, allocations: 128 / 0.7704 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.755e-05/0.3947, allocations: 4 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3947, allocations: 7.984 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3947, allocations: 0 / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.3948, allocations: 99.56 kB / 0.7705 GB, free: 14.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3948, allocations: 0 / 0.7705 GB, free: 14.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001948/0.395, allocations: 16 kB / 0.7705 GB, free: 14.92 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.0005017/0.3955, allocations: 0.634 MB / 0.7712 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3956, allocations: 32 kB / 0.7712 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3956, allocations: 0 / 0.7712 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.3957, allocations: 23.98 kB / 0.7712 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.3958, allocations: 3.938 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3971, allocations: 1.225 MB / 0.7724 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3974, allocations: 0.6807 MB / 0.7731 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.3975, allocations: 4 kB / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.3975, allocations: 15.42 kB / 0.7731 GB, free: 12.17 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.3975, allocations: 0 / 0.7731 GB, free: 12.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.4201, allocations: 1.542 MB / 0.7746 GB, free: 10.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.135, allocations: 2.938 kB / 0.7746 GB, free: 10.81 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)