Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",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.001088/0.001088, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001488/0.001488, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.742/1.742, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005229/0.000523, allocations: 15.44 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03832/0.2653, allocations: 38.68 MB / 0.8252 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.2762, allocations: 8.235 MB / 0.8332 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.2776, allocations: 35.75 kB / 0.8333 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.2791, allocations: 417.5 kB / 0.8337 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.282, allocations: 0.9897 MB / 0.8346 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.2845, allocations: 0.8524 MB / 0.8355 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00341/0.288, allocations: 2.887 MB / 0.8383 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.2891, allocations: 0.6414 MB / 0.8389 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.2908, allocations: 0.8088 MB / 0.8397 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.292, allocations: 0.6454 MB / 0.8403 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.2922, allocations: 40 kB / 0.8404 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.2942, allocations: 0.8655 MB / 0.8412 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.2945, allocations: 243.1 kB / 0.8414 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.2949, allocations: 261.1 kB / 0.8417 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.2968, allocations: 1.738 MB / 0.8434 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2969, allocations: 0 / 0.8434 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2969, allocations: 0 / 0.8434 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.748e-05/0.2969, allocations: 0 / 0.8434 GB, free: 2.34 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002562/0.2995, allocations: 1.534 MB / 0.8449 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2995, allocations: 8.031 kB / 0.8449 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.2997, allocations: 110.5 kB / 0.845 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.3001, allocations: 130.5 kB / 0.8451 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.3019, allocations: 1.027 MB / 0.8461 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.3019, allocations: 49.31 kB / 0.8462 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/0.302, allocations: 68 kB / 0.8462 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3034, allocations: 0.8058 MB / 0.847 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3034, allocations: 7.938 kB / 0.847 GB, free: 14.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.3035, allocations: 24 kB / 0.847 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.3035, allocations: 16 kB / 0.8471 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3046, allocations: 0.6141 MB / 0.8477 GB, free: 13.78 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.3086, allocations: 3.22 MB / 0.8508 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.3094, allocations: 462.9 kB / 0.8513 GB, free: 9.926 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.3098, allocations: 312.7 kB / 0.8515 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.3106, allocations: 0.7792 MB / 0.8523 GB, free: 8.672 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3106, allocations: 38.56 kB / 0.8523 GB, free: 8.625 MB / 0.67 GB Notification: Performance of pre-optimization done (n=38): time 1.974e-06/0.3106, allocations: 4 kB / 0.8524 GB, free: 8.621 MB / 0.67 GB Notification: Performance of matching and sorting (n=38): time 0.001561/0.3122, allocations: 1.013 MB / 0.8533 GB, free: 7.582 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.3123, allocations: 144.5 kB / 0.8535 GB, free: 7.41 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.3136, allocations: 1.063 MB / 0.8545 GB, free: 6.328 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.3137, allocations: 41.7 kB / 0.8546 GB, free: 6.281 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.3141, allocations: 460.5 kB / 0.855 GB, free: 5.828 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.3142, allocations: 138.1 kB / 0.8551 GB, free: 5.691 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.3142, allocations: 12 kB / 0.8551 GB, free: 5.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3143, allocations: 326 kB / 0.8554 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.3148, allocations: 344.8 kB / 0.8558 GB, free: 5.02 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.3154, allocations: 450.8 kB / 0.8562 GB, free: 4.551 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.316, allocations: 0.5469 MB / 0.8567 GB, free: 3.965 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.316, allocations: 7.938 kB / 0.8567 GB, free: 3.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00142/0.3174, allocations: 1.107 MB / 0.8578 GB, free: 2.805 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.3176, allocations: 323.3 kB / 0.8581 GB, free: 2.426 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3176, allocations: 4 kB / 0.8581 GB, free: 2.422 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3177, allocations: 8 kB / 0.8581 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.318, allocations: 87.89 kB / 0.8582 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.318, allocations: 4 kB / 0.8582 GB, free: 2.324 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.3187, allocations: 115.2 kB / 0.8583 GB, free: 2.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.3187, allocations: 24 kB / 0.8584 GB, free: 2.188 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.3188, allocations: 4 kB / 0.8584 GB, free: 2.184 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001386/0.3201, allocations: 1.105 MB / 0.8595 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3202, allocations: 4 kB / 0.8595 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.3202, allocations: 4 kB / 0.8595 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.3205, allocations: 100.1 kB / 0.8596 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3205, allocations: 4 kB / 0.8596 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.3211, allocations: 103.4 kB / 0.8597 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.3212, allocations: 27.97 kB / 0.8597 GB, free: 0.8008 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.0005328/0.3218, allocations: 478 kB / 0.8601 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3219, allocations: 98.78 kB / 0.8602 GB, free: 212 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.3234, allocations: 0.921 MB / 0.8611 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.3234, allocations: 7.984 kB / 0.8611 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3234, allocations: 4 kB / 0.8611 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.3246, allocations: 0.9841 MB / 0.8621 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.3275, allocations: 2.137 MB / 0.8642 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3275, allocations: 0 / 0.8642 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.3278, allocations: 76.12 kB / 0.8643 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.3278, allocations: 8 kB / 0.8643 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.3279, allocations: 15.94 kB / 0.8643 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3279, allocations: 4 kB / 0.8643 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3279, allocations: 4 kB / 0.8643 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.3297, allocations: 1.409 MB / 0.8657 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/0.3301, allocations: 299.5 kB / 0.866 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.3303, allocations: 19.94 kB / 0.866 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.3308, allocations: 52.02 kB / 0.866 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3309, allocations: 51.89 kB / 0.8661 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.331, allocations: 19.98 kB / 0.8661 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001007/0.332, allocations: 0.7689 MB / 0.8668 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.332, allocations: 0 / 0.8668 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001368/0.3334, allocations: 0.5148 MB / 0.8673 GB, free: 8.598 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.002671/0.336, allocations: 2.222 MB / 0.8695 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.3383, allocations: 1.947 MB / 0.8714 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3383, allocations: 4.062 kB / 0.8714 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.3389, allocations: 0.5487 MB / 0.872 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.3411, allocations: 0.5113 MB / 0.8725 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.3537, allocations: 7.253 MB / 0.8795 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/0.3546, allocations: 1.072 MB / 0.8806 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008849/0.3555, allocations: 203.7 kB / 0.8808 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.3561, allocations: 379.3 kB / 0.8811 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of SimCode: time 8.41e-07/0.3561, allocations: 4 kB / 0.8811 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0563/0.4124, allocations: 32.5 MB / 0.9129 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.4127, allocations: 244.5 kB / 0.9131 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/2.902, allocations: 4.062 kB / 0.9131 GB, free: 9.656 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) Environment - environmentSimulation: