Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.00398/0.00398, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001219/0.001219, allocations: 188.1 kB / 16.67 MB, free: 5.918 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00232/0.00232, allocations: 278.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9662/0.9662, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 102 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1383, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002529/0.1409, allocations: 1.638 MB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1424, allocations: 1.168 MB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.1425, allocations: 7.938 kB / 0.7687 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.1426, allocations: 23.86 kB / 0.7687 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1429, allocations: 71.67 kB / 0.7688 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.1432, allocations: 134.8 kB / 0.7689 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1435, allocations: 229.6 kB / 0.7691 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.1436, allocations: 40.12 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.1437, allocations: 75.77 kB / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.1439, allocations: 91.77 kB / 0.7693 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.1439, allocations: 16 kB / 0.7693 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.144, allocations: 75.97 kB / 0.7694 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.1441, allocations: 75.81 kB / 0.7695 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.619e-05/0.1442, allocations: 107.3 kB / 0.7696 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.1445, allocations: 282.8 kB / 0.7698 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1445, allocations: 0 / 0.7698 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1445, allocations: 0 / 0.7698 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1446, allocations: 4 kB / 0.7698 GB, free: 4.902 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007008/0.1453, allocations: 0.5416 MB / 0.7704 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1453, allocations: 8.031 kB / 0.7704 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.1454, allocations: 54.73 kB / 0.7704 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.1454, allocations: 36.67 kB / 0.7705 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1457, allocations: 259.9 kB / 0.7707 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1457, allocations: 12.38 kB / 0.7707 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1458, allocations: 20.31 kB / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.1461, allocations: 217.3 kB / 0.7709 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1461, allocations: 3.938 kB / 0.771 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1461, allocations: 12 kB / 0.771 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1461, allocations: 4 kB / 0.771 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.147, allocations: 0.7371 MB / 0.7717 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.1477, allocations: 0.567 MB / 0.7722 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.1482, allocations: 299.6 kB / 0.7725 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1484, allocations: 105.4 kB / 0.7726 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.1484, allocations: 20.25 kB / 0.7726 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.1487, allocations: 172.9 kB / 0.7728 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.1487, allocations: 0 / 0.7728 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.000619/0.1493, allocations: 381.7 kB / 0.7732 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.1494, allocations: 132.5 kB / 0.7733 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1497, allocations: 304 kB / 0.7736 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1497, allocations: 29.7 kB / 0.7736 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.1498, allocations: 120.8 kB / 0.7737 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.1499, allocations: 119 kB / 0.7738 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.15, allocations: 69.67 kB / 0.7739 GB, free: 480 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1501, allocations: 338.8 kB / 0.7742 GB, free: 132 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1503, allocations: 83.95 kB / 0.7743 GB, free: 48 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2491/0.3994, allocations: 116 kB / 0.7744 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.3998, allocations: 219.2 kB / 0.7746 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3998, allocations: 0 / 0.7746 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004424/0.4002, allocations: 277.9 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4003, allocations: 4.719 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4003, allocations: 0.7812 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4003, allocations: 2.938 kB / 0.7749 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.4005, allocations: 64.11 kB / 0.775 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4005, allocations: 2.578 kB / 0.775 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.4007, allocations: 23.77 kB / 0.775 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.4007, allocations: 13.94 kB / 0.775 GB, free: 14.83 MB / 0.5606 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001348/0.4009, allocations: 162.3 kB / 0.7752 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.4009, allocations: 32.02 kB / 0.7752 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.4015, allocations: 377.5 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4015, allocations: 3.531 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4016, allocations: 2.469 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4016, allocations: 5.297 kB / 0.7756 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4018, allocations: 332.3 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4018, allocations: 0.9375 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.402, allocations: 54.75 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.402, allocations: 3.984 kB / 0.7759 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.402, allocations: 13.31 kB / 0.776 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.402, allocations: 8.109 kB / 0.776 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.402, allocations: 1.031 kB / 0.776 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.4024, allocations: 327.1 kB / 0.7763 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.4025, allocations: 140.1 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.4026, allocations: 9.359 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4027, allocations: 15.44 kB / 0.7764 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.4028, allocations: 25.52 kB / 0.7765 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.4028, allocations: 13.41 kB / 0.7765 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001717/0.403, allocations: 228.2 kB / 0.7767 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.403, allocations: 0.5 kB / 0.7767 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003424/0.4033, allocations: 67.2 kB / 0.7767 GB, free: 14.21 MB / 0.5606 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.001658/0.405, allocations: 1.156 MB / 0.7779 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.4054, allocations: 230.8 kB / 0.7781 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4054, allocations: 0 / 0.7781 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.4056, allocations: 126.4 kB / 0.7782 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.4059, allocations: 36.28 kB / 0.7783 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.4081, allocations: 2.464 MB / 0.7807 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.4083, allocations: 0.7529 MB / 0.7814 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.4086, allocations: 145.6 kB / 0.7815 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.4087, allocations: 98.97 kB / 0.7816 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4087, allocations: 0 / 0.7816 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4867/0.8955, allocations: 5.482 MB / 0.787 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/9.252, allocations: 22.09 kB / 0.787 GB, free: 10.32 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)