Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_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.004763/0.004763, allocations: 101.9 kB / 15.73 MB, free: 6.02 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.001177/0.001177, allocations: 194.3 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.782/0.782, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 68.05 kB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1299, allocations: 80.19 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002696/0.1327, allocations: 1.621 MB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1342, allocations: 1.164 MB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.1343, allocations: 0 / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1345, allocations: 27.78 kB / 0.6619 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1348, allocations: 71.64 kB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1351, allocations: 141.3 kB / 0.6621 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1354, allocations: 229.6 kB / 0.6624 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.1355, allocations: 16.28 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.183e-05/0.1356, allocations: 87.75 kB / 0.6625 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1358, allocations: 87.77 kB / 0.6625 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.1359, allocations: 16 kB / 0.6626 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.136, allocations: 67.98 kB / 0.6626 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.1361, allocations: 87.78 kB / 0.6627 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.1362, allocations: 91.42 kB / 0.6628 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.1366, allocations: 286.8 kB / 0.6631 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1366, allocations: 0 / 0.6631 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1366, allocations: 0 / 0.6631 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1366, allocations: 0 / 0.6631 GB, free: 6.754 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007135/0.1373, allocations: 0.5341 MB / 0.6636 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1373, allocations: 12.03 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.1374, allocations: 50.73 kB / 0.6637 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.1375, allocations: 28.75 kB / 0.6637 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1377, allocations: 268.9 kB / 0.6639 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1378, allocations: 12.38 kB / 0.6639 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1378, allocations: 12.38 kB / 0.664 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.1381, allocations: 222 kB / 0.6642 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1382, allocations: 0 / 0.6642 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1382, allocations: 4 kB / 0.6642 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1382, allocations: 4 kB / 0.6642 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.1391, allocations: 0.7372 MB / 0.6649 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008049/0.1399, allocations: 0.5513 MB / 0.6654 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.1404, allocations: 307.6 kB / 0.6657 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1406, allocations: 105.4 kB / 0.6658 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.1406, allocations: 20.23 kB / 0.6659 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.1409, allocations: 184.9 kB / 0.666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.1409, allocations: 0 / 0.666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006405/0.1416, allocations: 361.3 kB / 0.6664 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.1417, allocations: 140.5 kB / 0.6665 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.142, allocations: 300 kB / 0.6668 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.142, allocations: 37.7 kB / 0.6668 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.1421, allocations: 116.8 kB / 0.6669 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.1422, allocations: 123 kB / 0.6671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.1423, allocations: 61.69 kB / 0.6671 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1424, allocations: 342.7 kB / 0.6674 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1426, allocations: 79.95 kB / 0.6675 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1428, allocations: 131.2 kB / 0.6676 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.1431, allocations: 217.3 kB / 0.6679 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1431, allocations: 0 / 0.6679 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000427/0.1436, allocations: 285.2 kB / 0.6681 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1436, allocations: 4 kB / 0.6681 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1436, allocations: 0 / 0.6681 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1436, allocations: 4 kB / 0.6681 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1438, allocations: 59.91 kB / 0.6682 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1438, allocations: 8 kB / 0.6682 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.144, allocations: 23.88 kB / 0.6682 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.144, allocations: 15.92 kB / 0.6682 GB, free: 1.18 MB / 0.4981 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.0001505/0.1442, allocations: 162.6 kB / 0.6684 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.1442, allocations: 31.84 kB / 0.6684 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.1449, allocations: 380.5 kB / 0.6688 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1449, allocations: 4 kB / 0.6688 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1449, allocations: 0 / 0.6688 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1449, allocations: 3.984 kB / 0.6688 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.1452, allocations: 325.2 kB / 0.6691 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1453, allocations: 4 kB / 0.6691 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.1454, allocations: 63.91 kB / 0.6692 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1454, allocations: 0 / 0.6692 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1455, allocations: 11.98 kB / 0.6692 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1455, allocations: 4 kB / 0.6692 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1455, allocations: 0 / 0.6692 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.146, allocations: 323.2 kB / 0.6695 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1461, allocations: 144.8 kB / 0.6696 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.1461, allocations: 12 kB / 0.6696 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1463, allocations: 15.98 kB / 0.6697 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.1463, allocations: 19.97 kB / 0.6697 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.1464, allocations: 15.98 kB / 0.6697 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002063/0.1466, allocations: 233.5 kB / 0.6699 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1466, allocations: 0 / 0.6699 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002595/0.1469, allocations: 55.98 kB / 0.67 GB, free: 15.3 MB / 0.5137 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.001938/0.1488, allocations: 1.167 MB / 0.6711 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.1492, allocations: 223.8 kB / 0.6713 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1492, allocations: 0 / 0.6713 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.1494, allocations: 132.3 kB / 0.6714 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1497, allocations: 39.47 kB / 0.6715 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.1525, allocations: 2.461 MB / 0.6739 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1529, allocations: 0.7613 MB / 0.6746 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.1532, allocations: 142.9 kB / 0.6748 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1533, allocations: 87.39 kB / 0.6748 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1533, allocations: 0 / 0.6748 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1834, allocations: 5.439 MB / 0.6802 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.301, allocations: 7.938 kB / 0.6802 GB, free: 5.02 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)