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.001293/0.001293, 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.001264/0.001264, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.721/1.721, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001408/0.001408, allocations: 69.25 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1896, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003864/0.1935, allocations: 2.322 MB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5591/0.7526, allocations: 152 MB / 0.9343 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.7528, allocations: 2.625 kB / 0.9343 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.7531, allocations: 47.78 kB / 0.9344 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.7534, allocations: 95.75 kB / 0.9345 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.7541, allocations: 309.4 kB / 0.9348 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.7545, allocations: 430.4 kB / 0.9352 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.7547, allocations: 99.88 kB / 0.9353 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.7559, allocations: 277.3 kB / 0.9355 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.7561, allocations: 190.2 kB / 0.9357 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.7562, allocations: 31 kB / 0.9357 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.7567, allocations: 276.2 kB / 0.936 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.7568, allocations: 84.19 kB / 0.9361 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.757, allocations: 164.4 kB / 0.9362 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.7575, allocations: 492.9 kB / 0.9367 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7576, allocations: 0 / 0.9367 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7576, allocations: 0 / 0.9367 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.7576, allocations: 2.156 kB / 0.9367 GB, free: 2.504 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.001422/0.759, allocations: 0.707 MB / 0.9374 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.759, allocations: 7.031 kB / 0.9374 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.443e-05/0.7591, allocations: 65.3 kB / 0.9375 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.7617, allocations: 266.2 kB / 0.9377 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.7621, allocations: 299.9 kB / 0.938 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.7622, allocations: 22.78 kB / 0.938 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.7622, allocations: 25.22 kB / 0.9381 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.7636, allocations: 432.5 kB / 0.9385 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7637, allocations: 1.203 kB / 0.9385 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.7637, allocations: 11.84 kB / 0.9385 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7637, allocations: 11.34 kB / 0.9385 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.7659, allocations: 0.5205 MB / 0.939 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.7689, allocations: 1.132 MB / 0.9401 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.7711, allocations: 473.9 kB / 0.9406 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.7721, allocations: 226.4 kB / 0.9408 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.7722, allocations: 7.094 kB / 0.9408 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7722, allocations: 39.44 kB / 0.9408 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.996e-06/0.7723, allocations: 0 / 0.9408 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.0158/0.7881, allocations: 1.728 MB / 0.9425 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.7881, allocations: 58.41 kB / 0.9426 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.7886, allocations: 306.9 kB / 0.9429 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.7887, allocations: 32.08 kB / 0.9429 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.7888, allocations: 171.6 kB / 0.9431 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.7889, allocations: 84.67 kB / 0.9431 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.7891, allocations: 72.94 kB / 0.9432 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7892, allocations: 344.7 kB / 0.9435 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.7903, allocations: 207.4 kB / 0.9437 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.7915, allocations: 262.1 kB / 0.944 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.7937, allocations: 427.1 kB / 0.9444 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7937, allocations: 0.5312 kB / 0.9444 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006854/0.8005, allocations: 0.9012 MB / 0.9453 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8006, allocations: 6.266 kB / 0.9453 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8006, allocations: 1 kB / 0.9453 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.8025, allocations: 281.5 kB / 0.9455 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.803, allocations: 66.3 kB / 0.9456 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/0.8174, allocations: 4.085 MB / 0.9496 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.8184, allocations: 80.19 kB / 0.9497 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.8184, allocations: 15.47 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.0002405/0.8187, allocations: 142.4 kB / 0.9498 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.8188, allocations: 30.34 kB / 0.9499 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/0.8257, allocations: 0.9508 MB / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8257, allocations: 3.375 kB / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8257, allocations: 1.094 kB / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.8257, allocations: 3.328 kB / 0.9508 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.8264, allocations: 425 kB / 0.9512 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.8264, allocations: 5.188 kB / 0.9512 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.8268, allocations: 52.81 kB / 0.9512 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.8286, allocations: 279.4 kB / 0.9515 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.8287, allocations: 13.91 kB / 0.9515 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.8426, allocations: 4.082 MB / 0.9555 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8426, allocations: 2.391 kB / 0.9555 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006782/0.8494, allocations: 0.9628 MB / 0.9565 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.8496, allocations: 111.9 kB / 0.9566 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.8497, allocations: 10.88 kB / 0.9566 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.8505, allocations: 45.59 kB / 0.9566 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/0.8506, allocations: 19.45 kB / 0.9566 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.8506, allocations: 20.48 kB / 0.9567 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002541/0.8509, allocations: 224.8 kB / 0.9569 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8509, allocations: 0 / 0.9569 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00067/0.8516, allocations: 108.8 kB / 0.957 GB, free: 9.289 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.007159/0.8587, allocations: 1.524 MB / 0.9585 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002994/0.8618, allocations: 0.724 MB / 0.9592 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8618, allocations: 0 / 0.9592 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.8634, allocations: 0.4991 MB / 0.9597 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.8643, allocations: 110 kB / 0.9598 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/0.8833, allocations: 4.38 MB / 0.964 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.8839, allocations: 0.7728 MB / 0.9648 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005086/0.8844, allocations: 77.95 kB / 0.9649 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.8846, allocations: 105.2 kB / 0.965 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/0.8846, allocations: 0 / 0.965 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/0.9291, allocations: 16.56 MB / 0.9811 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.64, allocations: 6 kB / 0.9811 GB, free: 13.26 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)