Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.00758/0.00758, allocations: 98.56 kB / 15.73 MB, free: 5.949 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.001699/0.001699, allocations: 193.2 kB / 16.67 MB, free: 5.871 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 / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002572/0.002572, allocations: 285.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9956/0.9956, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 92.08 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3605, allocations: 86.99 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002476/0.363, allocations: 1.267 MB / 0.7672 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3643, allocations: 0.7388 MB / 0.7679 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.3643, allocations: 4 kB / 0.7679 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3644, allocations: 0 / 0.7679 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.3646, allocations: 3.938 kB / 0.7679 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3648, allocations: 55.05 kB / 0.768 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.3649, allocations: 27.86 kB / 0.768 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.3649, allocations: 7.984 kB / 0.768 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.365, allocations: 11.98 kB / 0.768 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3651, allocations: 4.938 kB / 0.768 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3652, allocations: 0 / 0.768 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.3652, allocations: 15.92 kB / 0.768 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3653, allocations: 7.922 kB / 0.768 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.3653, allocations: 8 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.3654, allocations: 27.56 kB / 0.7681 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3654, allocations: 3.938 kB / 0.7681 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3654, allocations: 0 / 0.7681 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3654, allocations: 0 / 0.7681 GB, free: 1.668 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000361/0.3658, allocations: 332.9 kB / 0.7684 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3659, allocations: 8.031 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.3659, allocations: 110 kB / 0.7685 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.366, allocations: 76.22 kB / 0.7686 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3662, allocations: 243.6 kB / 0.7688 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.3663, allocations: 154.9 kB / 0.769 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.3663, allocations: 154.9 kB / 0.7691 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.83e-05/0.3664, allocations: 107.3 kB / 0.7692 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.3665, allocations: 79.22 kB / 0.7693 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.3665, allocations: 154.6 kB / 0.7694 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/0.3666, allocations: 150.6 kB / 0.7696 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.3667, allocations: 150.6 kB / 0.7697 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.367, allocations: 453.9 kB / 0.7701 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.3671, allocations: 173.1 kB / 0.7703 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.3672, allocations: 80.14 kB / 0.7704 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.3672, allocations: 75.28 kB / 0.7705 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.3673, allocations: 109.8 kB / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3673, allocations: 0 / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.531e-05/0.3674, allocations: 33.64 kB / 0.7706 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.3675, allocations: 142.5 kB / 0.7707 GB, free: 14.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3676, allocations: 105.8 kB / 0.7708 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3676, allocations: 29.69 kB / 0.7709 GB, free: 14.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.3677, allocations: 84.12 kB / 0.7709 GB, free: 14.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-06/0.3677, allocations: 4 kB / 0.7709 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3678, allocations: 13.72 kB / 0.771 GB, free: 14.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3679, allocations: 318.8 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.3679, allocations: 3.984 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.368, allocations: 8 kB / 0.7713 GB, free: 14.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.368, allocations: 16.84 kB / 0.7713 GB, free: 14.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.368, allocations: 0 / 0.7713 GB, free: 14.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001228/0.3681, allocations: 45.8 kB / 0.7713 GB, free: 14.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3682, allocations: 11.88 kB / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3682, allocations: 0 / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3682, allocations: 0 / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3682, allocations: 0 / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3682, allocations: 0 / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.3684, allocations: 12.19 kB / 0.7714 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3684, allocations: 0 / 0.7714 GB, free: 14.06 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 0.0001151/0.3685, allocations: 187.5 kB / 0.7715 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.3686, allocations: 112.9 kB / 0.7716 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.3687, allocations: 120.5 kB / 0.7718 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.492e-05/0.3688, allocations: 184.3 kB / 0.7719 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.84e-05/0.3689, allocations: 176.3 kB / 0.7721 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.08e-05/0.3689, allocations: 180.2 kB / 0.7723 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3692, allocations: 413.2 kB / 0.7727 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/0.3693, allocations: 104.9 kB / 0.7728 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.3693, allocations: 101 kB / 0.7729 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-05/0.3694, allocations: 184.2 kB / 0.773 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.3695, allocations: 184.2 kB / 0.7732 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.839e-05/0.3696, allocations: 176.5 kB / 0.7734 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.067e-05/0.3697, allocations: 184.2 kB / 0.7736 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.3698, allocations: 303.9 kB / 0.7739 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3699, allocations: 190 kB / 0.774 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.37, allocations: 180.2 kB / 0.7742 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.3701, allocations: 108.9 kB / 0.7743 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.3702, allocations: 192.2 kB / 0.7745 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.3703, allocations: 105 kB / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.3703, allocations: 87.22 kB / 0.7747 GB, free: 10.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3704, allocations: 0 / 0.7747 GB, free: 10.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002225/0.3706, allocations: 4 kB / 0.7747 GB, free: 10.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005559/0.3711, allocations: 0.8204 MB / 0.7755 GB, free: 9.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.993e-05/0.3712, allocations: 12 kB / 0.7755 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3712, allocations: 0 / 0.7755 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.3712, allocations: 3.938 kB / 0.7755 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3716, allocations: 458.6 kB / 0.7759 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3727, allocations: 1.287 MB / 0.7772 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3731, allocations: 0.6768 MB / 0.7778 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.3731, allocations: 4 kB / 0.7779 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.3731, allocations: 7.438 kB / 0.7779 GB, free: 7.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.3731, allocations: 0 / 0.7779 GB, free: 7.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.3964, allocations: 1.322 MB / 0.7792 GB, free: 5.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.105, allocations: 15.5 kB / 0.7792 GB, free: 5.906 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)