Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger",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.001522/0.001522, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 186 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 72.44 kB / 0.6717 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2022, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003592/0.2058, allocations: 2.318 MB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5376/0.7434, allocations: 152 MB / 0.9343 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.7437, allocations: 6.562 kB / 0.9343 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.7439, allocations: 47.14 kB / 0.9344 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.7443, allocations: 102.5 kB / 0.9345 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.7451, allocations: 307 kB / 0.9348 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.7456, allocations: 432.1 kB / 0.9352 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.7458, allocations: 102.3 kB / 0.9353 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.7472, allocations: 272.7 kB / 0.9355 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.7475, allocations: 182.2 kB / 0.9357 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.7476, allocations: 35.44 kB / 0.9357 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008413/0.7485, allocations: 277.8 kB / 0.936 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.7486, allocations: 76.77 kB / 0.9361 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.7488, allocations: 169 kB / 0.9362 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008875/0.7497, allocations: 491.7 kB / 0.9367 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7497, allocations: 0.625 kB / 0.9367 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.817e-06/0.7497, allocations: 1.219 kB / 0.9367 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.7498, allocations: 0.9844 kB / 0.9367 GB, free: 2.508 MB / 0.7169 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.001706/0.7515, allocations: 0.7036 MB / 0.9374 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.7515, allocations: 10.34 kB / 0.9374 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.063e-05/0.7516, allocations: 63.19 kB / 0.9375 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.7542, allocations: 268.7 kB / 0.9377 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.7546, allocations: 306.4 kB / 0.938 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.7547, allocations: 21.84 kB / 0.938 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.7547, allocations: 24.66 kB / 0.9381 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.7561, allocations: 429.6 kB / 0.9385 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.7561, allocations: 2.688 kB / 0.9385 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.7562, allocations: 10.5 kB / 0.9385 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.7562, allocations: 10.34 kB / 0.9385 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.7583, allocations: 0.5215 MB / 0.939 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.7612, allocations: 1.135 MB / 0.9401 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.7633, allocations: 471.3 kB / 0.9406 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009907/0.7644, allocations: 234.8 kB / 0.9408 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.7644, allocations: 2.75 kB / 0.9408 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.7644, allocations: 42.41 kB / 0.9408 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.7644, allocations: 0 / 0.9408 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.0149/0.7794, allocations: 1.724 MB / 0.9425 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.7794, allocations: 56.94 kB / 0.9426 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.7799, allocations: 305 kB / 0.9429 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-05/0.78, allocations: 31.48 kB / 0.9429 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.7802, allocations: 176.4 kB / 0.9431 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.7803, allocations: 83.09 kB / 0.9431 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.7805, allocations: 72.36 kB / 0.9432 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7806, allocations: 344.7 kB / 0.9435 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.7817, allocations: 204.9 kB / 0.9437 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.7829, allocations: 262.7 kB / 0.944 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.785, allocations: 426.3 kB / 0.9444 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.785, allocations: 0.5 kB / 0.9444 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006696/0.7917, allocations: 0.9022 MB / 0.9453 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.7917, allocations: 5.5 kB / 0.9453 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7918, allocations: 2.25 kB / 0.9453 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.7935, allocations: 283.7 kB / 0.9455 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.794, allocations: 63.27 kB / 0.9456 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.8079, allocations: 4.095 MB / 0.9496 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/0.8088, allocations: 77.86 kB / 0.9497 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.8089, allocations: 16.36 kB / 0.9497 GB, free: 13.02 MB / 0.7325 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.0002196/0.8091, allocations: 142.4 kB / 0.9498 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.8092, allocations: 31.03 kB / 0.9499 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006798/0.816, allocations: 0.9509 MB / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.816, allocations: 2.938 kB / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.816, allocations: 0 / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.8161, allocations: 7.75 kB / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.8167, allocations: 426 kB / 0.9512 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8167, allocations: 1.094 kB / 0.9512 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.8171, allocations: 51.83 kB / 0.9513 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/0.8188, allocations: 277.3 kB / 0.9515 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.8189, allocations: 17.31 kB / 0.9515 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.8324, allocations: 4.076 MB / 0.9555 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8324, allocations: 0 / 0.9555 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006694/0.8391, allocations: 0.9584 MB / 0.9565 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.8394, allocations: 112.6 kB / 0.9566 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.8395, allocations: 8.688 kB / 0.9566 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/0.8402, allocations: 45.55 kB / 0.9566 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.8403, allocations: 24.61 kB / 0.9566 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.8404, allocations: 24.77 kB / 0.9567 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000276/0.8407, allocations: 224.2 kB / 0.9569 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8407, allocations: 0 / 0.9569 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006317/0.8413, allocations: 113.7 kB / 0.957 GB, free: 9.285 MB / 0.7325 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.007011/0.8483, allocations: 1.525 MB / 0.9585 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002772/0.8511, allocations: 0.7215 MB / 0.9592 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8512, allocations: 5.328 kB / 0.9592 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.8527, allocations: 0.4984 MB / 0.9597 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.8534, allocations: 107.4 kB / 0.9598 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/0.8719, allocations: 4.374 MB / 0.964 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.8723, allocations: 0.7744 MB / 0.9648 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005243/0.8728, allocations: 80.84 kB / 0.9649 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.8731, allocations: 99.25 kB / 0.965 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.8731, allocations: 0 / 0.965 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.9131, allocations: 16.57 MB / 0.9811 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.82, allocations: 0 / 0.9811 GB, free: 13.28 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)