Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.253/1.253, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009544/0.0009543, allocations: 179.3 kB / 325.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205 MB / 0.576 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006405/0.0006405, allocations: 80.25 kB / 0.6797 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 12.47 kB / 0.7932 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1652, allocations: 105.4 MB / 0.8962 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.001928/0.1671, allocations: 2.029 MB / 0.8982 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.2982, allocations: 149.8 MB / 1.044 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.2984, allocations: 7.938 kB / 1.044 GB, free: 11.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.2986, allocations: 35.66 kB / 1.044 GB, free: 11.1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2989, allocations: 83.39 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.2995, allocations: 259.2 kB / 1.045 GB, free: 10.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.2999, allocations: 403.8 kB / 1.045 GB, free: 10.37 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3001, allocations: 111.7 kB / 1.045 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.3021, allocations: 232.3 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3023, allocations: 155.3 kB / 1.046 GB, free: 9.898 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.3024, allocations: 15.98 kB / 1.046 GB, free: 9.883 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.3028, allocations: 267.6 kB / 1.046 GB, free: 9.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.3029, allocations: 55.75 kB / 1.046 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.3031, allocations: 139.2 kB / 1.046 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.3035, allocations: 462.4 kB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3036, allocations: 0 / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3036, allocations: 0 / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3036, allocations: 0 / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001213/0.3048, allocations: 0.6589 MB / 1.047 GB, free: 8.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3048, allocations: 11.97 kB / 1.047 GB, free: 8.258 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.3049, allocations: 62.72 kB / 1.047 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.3074, allocations: 259.2 kB / 1.048 GB, free: 7.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.3078, allocations: 299.2 kB / 1.048 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3078, allocations: 20.56 kB / 1.048 GB, free: 7.582 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.3079, allocations: 32 kB / 1.048 GB, free: 7.551 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.3092, allocations: 432.5 kB / 1.048 GB, free: 7.121 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3092, allocations: 0 / 1.048 GB, free: 7.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3092, allocations: 15.94 kB / 1.048 GB, free: 7.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3093, allocations: 11.98 kB / 1.048 GB, free: 7.094 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.3114, allocations: 0.5252 MB / 1.049 GB, free: 6.566 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.3142, allocations: 1.14 MB / 1.05 GB, free: 5.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.3162, allocations: 468.2 kB / 1.05 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009479/0.3172, allocations: 240.6 kB / 1.051 GB, free: 4.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.3173, allocations: 8.375 kB / 1.051 GB, free: 4.664 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3173, allocations: 34.5 kB / 1.051 GB, free: 4.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.3173, allocations: 0 / 1.051 GB, free: 4.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01439/0.3317, allocations: 1.717 MB / 1.052 GB, free: 2.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3318, allocations: 59.39 kB / 1.052 GB, free: 2.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.3321, allocations: 308.5 kB / 1.053 GB, free: 2.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.3322, allocations: 29.7 kB / 1.053 GB, free: 2.441 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3323, allocations: 172.2 kB / 1.053 GB, free: 2.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.3324, allocations: 86.75 kB / 1.053 GB, free: 2.184 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.3324, allocations: 25.72 kB / 1.053 GB, free: 2.152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3325, allocations: 346.7 kB / 1.053 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000926/0.3335, allocations: 204.4 kB / 1.053 GB, free: 1.605 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009674/0.3344, allocations: 263 kB / 1.054 GB, free: 1.328 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.3363, allocations: 446.8 kB / 1.054 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3363, allocations: 0 / 1.054 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3088/0.6451, allocations: 0.8882 MB / 1.055 GB, free: 160.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6451, allocations: 6.906 kB / 1.055 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6451, allocations: 3.531 kB / 1.055 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.6469, allocations: 275.4 kB / 1.055 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.6474, allocations: 74 kB / 1.055 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.6588, allocations: 3.765 MB / 1.059 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/0.6596, allocations: 71 kB / 1.059 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.6596, allocations: 21.02 kB / 1.059 GB, free: 157.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.6598, allocations: 144.2 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.6599, allocations: 39.64 kB / 1.059 GB, free: 157.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/0.6663, allocations: 0.9451 MB / 1.06 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6663, allocations: 3.031 kB / 1.06 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6663, allocations: 2.875 kB / 1.06 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6663, allocations: 1.734 kB / 1.06 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.6668, allocations: 426.2 kB / 1.061 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.6668, allocations: 0.6562 kB / 1.061 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.6672, allocations: 61.5 kB / 1.061 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.6688, allocations: 273.2 kB / 1.061 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.6688, allocations: 15.81 kB / 1.061 GB, free: 157.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.6798, allocations: 3.77 MB / 1.065 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6798, allocations: 0 / 1.065 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/0.6857, allocations: 0.9593 MB / 1.066 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.6857, allocations: 111 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.6858, allocations: 8.609 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.6865, allocations: 47.25 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.6865, allocations: 18.97 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.6866, allocations: 14.12 kB / 1.066 GB, free: 154.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002121/0.6868, allocations: 224.5 kB / 1.066 GB, free: 154.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6868, allocations: 0 / 1.066 GB, free: 154.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005368/0.6874, allocations: 117 kB / 1.066 GB, free: 154.3 MB / 0.698 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006558/0.6939, allocations: 1.515 MB / 1.068 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.6965, allocations: 0.7386 MB / 1.068 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6966, allocations: 0.8125 kB / 1.068 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.698, allocations: 0.4988 MB / 1.069 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.6986, allocations: 100.9 kB / 1.069 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.7159, allocations: 4.49 MB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.7161, allocations: 0.7654 MB / 1.074 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004806/0.7166, allocations: 81.8 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.7167, allocations: 98.89 kB / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.52e-07/0.7167, allocations: 0 / 1.074 GB, free: 150.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4953/1.212, allocations: 15.71 MB / 1.09 GB, free: 141.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.212, allocations: 229.3 kB / 1.09 GB, free: 141.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.747, allocations: 0 / 1.09 GB, free: 141.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)