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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8964/0.8964, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001627, allocations: 184.8 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009627/0.0009628, allocations: 105.5 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 263.7 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.12e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4682, allocations: 82.77 MB / 0.7575 GB, free: 31.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.6134, allocations: 109.1 MB / 0.864 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.6137, allocations: 75.95 kB / 0.864 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.6288, allocations: 4.928 MB / 0.8689 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6289, allocations: 0 / 0.8689 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.6289, allocations: 4 kB / 0.8689 GB, free: 13.65 MB / 0.5417 GB 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.0007251/0.6297, allocations: 477.9 kB / 0.8693 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.6297, allocations: 12.03 kB / 0.8693 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.6298, allocations: 23.72 kB / 0.8694 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.6302, allocations: 257.6 kB / 0.8696 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.6302, allocations: 3.953 kB / 0.8696 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.6302, allocations: 12 kB / 0.8696 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001762/0.6304, allocations: 84.19 kB / 0.8697 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.6306, allocations: 118.3 kB / 0.8698 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6306, allocations: 3.984 kB / 0.8698 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.6307, allocations: 7.984 kB / 0.8698 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.6307, allocations: 12.23 kB / 0.8698 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.6316, allocations: 0.5212 MB / 0.8703 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.6319, allocations: 227.7 kB / 0.8706 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.632, allocations: 69.25 kB / 0.8706 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.6321, allocations: 192 / 0.8706 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6321, allocations: 38.75 kB / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=22): time 9.92e-07/0.6321, allocations: 0 / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22): time 0.0003588/0.6325, allocations: 201 kB / 0.8708 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.6325, allocations: 59.41 kB / 0.8709 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.6327, allocations: 200.5 kB / 0.8711 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.6327, allocations: 25.7 kB / 0.8711 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.6328, allocations: 128.7 kB / 0.8712 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.6329, allocations: 78.75 kB / 0.8713 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.6329, allocations: 0 / 0.8713 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6331, allocations: 346.7 kB / 0.8716 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.6332, allocations: 83.97 kB / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.6333, allocations: 84.97 kB / 0.8718 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.6335, allocations: 92.94 kB / 0.8719 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6335, allocations: 4 kB / 0.8719 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003493/0.6339, allocations: 245.3 kB / 0.8721 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6339, allocations: 4 kB / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6339, allocations: 0 / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.6339, allocations: 0 / 0.8721 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.6343, allocations: 83.89 kB / 0.8722 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.6343, allocations: 3.672 kB / 0.8722 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.6345, allocations: 27.73 kB / 0.8723 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.6345, allocations: 4 kB / 0.8723 GB, free: 9.98 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.154e-05/0.6346, allocations: 112.9 kB / 0.8724 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002897/0.6349, allocations: 191.5 kB / 0.8725 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.635, allocations: 27.7 kB / 0.8726 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.6351, allocations: 25.97 kB / 0.8726 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6351, allocations: 7.938 kB / 0.8726 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6351, allocations: 0 / 0.8726 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6351, allocations: 7.984 kB / 0.8726 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.6354, allocations: 281.8 kB / 0.8729 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6354, allocations: 4 kB / 0.8729 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.6357, allocations: 35.97 kB / 0.8729 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6357, allocations: 4 kB / 0.8729 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.6357, allocations: 4 kB / 0.8729 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6357, allocations: 0 / 0.8729 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6357, allocations: 4 kB / 0.8729 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.6362, allocations: 386.9 kB / 0.8733 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6364, allocations: 116.8 kB / 0.8734 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.6364, allocations: 7.984 kB / 0.8734 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.6366, allocations: 7.984 kB / 0.8734 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.6367, allocations: 11.98 kB / 0.8734 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.6367, allocations: 8 kB / 0.8734 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001455/0.6368, allocations: 164.5 kB / 0.8736 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6368, allocations: 0 / 0.8736 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002865/0.6371, allocations: 47.94 kB / 0.8736 GB, free: 8.465 MB / 0.5417 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0007679/0.6379, allocations: 0.914 MB / 0.8745 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.6382, allocations: 183.8 kB / 0.8747 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.6382, allocations: 0 / 0.8747 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.6384, allocations: 87.91 kB / 0.8748 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.6387, allocations: 36.36 kB / 0.8748 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.6398, allocations: 0.5421 MB / 0.8754 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.6402, allocations: 0.7672 MB / 0.8761 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.6404, allocations: 61.95 kB / 0.8762 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.6405, allocations: 67.41 kB / 0.8762 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.6405, allocations: 0 / 0.8762 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.6656, allocations: 4.063 MB / 0.8802 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.6658, allocations: 164.1 kB / 0.8804 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.647, allocations: 32 / 0.8804 GB, free: 1.492 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)