Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.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.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter") translateModel(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008372, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.000945/0.000945, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001605/0.001605, allocations: 262.5 kB / 291.2 MB, free: 1.992 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7078/0.7078, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 16.66 kB / 0.5683 GB, free: 38.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 83.08 MB / 0.6494 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.001838/0.1358, allocations: 1.461 MB / 0.6508 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.1367, allocations: 0.5479 MB / 0.6514 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1368, allocations: 4.594 kB / 0.6514 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.654e-05/0.1369, allocations: 15.86 kB / 0.6514 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1372, allocations: 66.5 kB / 0.6515 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1374, allocations: 64.94 kB / 0.6515 GB, free: 1.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1377, allocations: 163.6 kB / 0.6517 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1378, allocations: 26.19 kB / 0.6517 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.138, allocations: 92.69 kB / 0.6518 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1382, allocations: 117 kB / 0.6519 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1382, allocations: 8 kB / 0.6519 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.1382, allocations: 12 kB / 0.6519 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.1383, allocations: 60.52 kB / 0.652 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.1384, allocations: 49.64 kB / 0.652 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1386, allocations: 157.1 kB / 0.6522 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1386, allocations: 0 / 0.6522 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1386, allocations: 0 / 0.6522 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1386, allocations: 0.6562 kB / 0.6522 GB, free: 0.7812 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009353/0.1395, allocations: 0.5045 MB / 0.6527 GB, free: 240 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1396, allocations: 8.031 kB / 0.6527 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.1396, allocations: 23.72 kB / 0.6527 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.1401, allocations: 274.2 kB / 0.653 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1401, allocations: 4 kB / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1401, allocations: 24.66 kB / 0.653 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1404, allocations: 146.9 kB / 0.6531 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1404, allocations: 0.875 kB / 0.6531 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1405, allocations: 4 kB / 0.6531 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.1405, allocations: 8.953 kB / 0.6531 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.1408, allocations: 149.2 kB / 0.6533 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/0.1416, allocations: 0.5492 MB / 0.6538 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.1419, allocations: 184 kB / 0.654 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.142, allocations: 3.938 kB / 0.654 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.142, allocations: 32.69 kB / 0.654 GB, free: 14.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.142, allocations: 0 / 0.654 GB, free: 14.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004908/0.1425, allocations: 262.7 kB / 0.6543 GB, free: 14.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.1425, allocations: 58.41 kB / 0.6543 GB, free: 14.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.1429, allocations: 237 kB / 0.6546 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1429, allocations: 33.69 kB / 0.6546 GB, free: 14.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.143, allocations: 132.6 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.1431, allocations: 70.91 kB / 0.6548 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.1431, allocations: 4 kB / 0.6548 GB, free: 13.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1432, allocations: 332.4 kB / 0.6551 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1433, allocations: 83.94 kB / 0.6552 GB, free: 13.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1435, allocations: 81.83 kB / 0.6553 GB, free: 13.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1437, allocations: 101.4 kB / 0.6554 GB, free: 13.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1437, allocations: 0 / 0.6554 GB, free: 13.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003797/0.1441, allocations: 250.3 kB / 0.6556 GB, free: 13.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1441, allocations: 5.406 kB / 0.6556 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1441, allocations: 4 kB / 0.6556 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1441, allocations: 8 kB / 0.6556 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1444, allocations: 75.83 kB / 0.6557 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1444, allocations: 3.953 kB / 0.6557 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1446, allocations: 23.83 kB / 0.6557 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1446, allocations: 4 kB / 0.6557 GB, free: 12.97 MB / 462.1 MB 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.1448, allocations: 141.8 kB / 0.6559 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.1448, allocations: 19.81 kB / 0.6559 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.1449, allocations: 26.19 kB / 0.6559 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1449, allocations: 4 kB / 0.6559 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1449, allocations: 0 / 0.6559 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1449, allocations: 7.938 kB / 0.6559 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1452, allocations: 301.3 kB / 0.6562 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1452, allocations: 0 / 0.6562 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.1454, allocations: 35.92 kB / 0.6562 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1454, allocations: 3.984 kB / 0.6562 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.1455, allocations: 12 kB / 0.6563 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1455, allocations: 3.938 kB / 0.6563 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1455, allocations: 0 / 0.6563 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.146, allocations: 372.7 kB / 0.6566 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1461, allocations: 124.7 kB / 0.6567 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1461, allocations: 7.984 kB / 0.6567 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1463, allocations: 23.98 kB / 0.6568 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1464, allocations: 7.984 kB / 0.6568 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1464, allocations: 4 kB / 0.6568 GB, free: 11.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.1467, allocations: 180.5 kB / 0.6569 GB, free: 11.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1467, allocations: 0 / 0.6569 GB, free: 11.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1469, allocations: 48 kB / 0.657 GB, free: 11.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.1471, allocations: 111.1 kB / 0.6571 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.1474, allocations: 179.8 kB / 0.6573 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1474, allocations: 0 / 0.6573 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1476, allocations: 83.89 kB / 0.6574 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1479, allocations: 32.42 kB / 0.6574 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.149, allocations: 0.6678 MB / 0.658 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1493, allocations: 0.7674 MB / 0.6588 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1494, allocations: 49.5 kB / 0.6588 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.1495, allocations: 23.42 kB / 0.6589 GB, free: 9.613 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1495, allocations: 4 kB / 0.6589 GB, free: 9.609 MB / 462.1 MB Notification: Performance of Templates: time 0.004461/0.154, allocations: 2.003 MB / 0.6608 GB, free: 7.613 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) Environment - environmentSimulation: